Tordex Community
[solved] Skins - Menu Placement - Printable Version

+- Tordex Community (http://forum.tordex.com)
+-- Forum: True Launch Bar (http://forum.tordex.com/forum-3.html)
+--- Forum: Development (http://forum.tordex.com/forum-12.html)
+--- Thread: [solved] Skins - Menu Placement (/thread-4173.html)



Skins - Menu Placement - Fireball - 03-06-2012

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.