solved Skins - Menu Placement
Started by Fireball


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


0 posts in this topic
Fireball
Junior Member
**


0
3 posts 2 threads Joined: Jun 2009
03-06-2012, 07:48 PM -
#1
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.


This post was last modified: 03-06-2012, 10:21 PM by Fireball.


Forum Jump:


Users browsing this thread: 1 Guest(s)