Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
solved Skins - Menu Placement
03-06-2012, 07:48 PM (This post was last modified: 03-06-2012 10:21 PM by Fireball.)
Post: #1
Skins - Menu Placement
Is it possible to control where menus and submenus appear?
If so, I would appreciate an example of how to move a submenu further to the right.

Solution:

The optional AttachMargins value in the [Menu] section of the tlbskin.ini file, mentioned in the Skin Specification, allows you to move the menu positive or negative from the normal location.
The value operates somewhat oddly, as I needed to place a negative left value (AttachMargins = -4, 0, 0, 0), to move the menu right.

From the Skin Specification:

Additional values for [Menu] and [MenuWithCaption] section

These two sections can have additional value:

AttachMargins
AttachMargins = left, right, top, bottom

Use these margins if your skin have a transparent borders (for example the shadow) to move the menu's attach points.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)