Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PosNameTypeDescription
<1>LeftIntegerThe left margin
<2>TopIntegerThe top margin
<3>RightIntegerThe right margin
<4>BottomIntegerThe bottom margin
<5>Between GroupsIntegerThe space between groups

Remarks

...

The last field, Between Groups, sets the space in pixels between all groups. That is, it positions groups relative to each other. This one field sets the same space between all groups; there is currently no way to specify spacing values for separate groups.

You can simply let the Theme property determine the margins for you by setting this property to "Default". In fact, this is the default value for the Margins property. Once you decide to alter at least one margin, though, you become responsible for setting all margin values.

...

Code Block
// Set 2 pixel margins all around 
Set_Property(@Window:".OLE_SHORTCUTBAR", "OLE.Margins", 2:@FM:2:@FM:2:@FM:2:@FM:2) 

// Set wide outer margins but keep groups close together 
Set_Property(@Window:".OLE_SHORTCUTBAR", "OLE.Margins", 12:@FM:12:@FM:12:@FM:12:@FM:6) 

// Use the Theme's margin settings 
Set_Property(@Window:".OLE_SHORTCUTBAR", "OLE.Margins", "Default")

See Also

Theme