2.92 .dock_offset
This attribute of the toolbar controls the distance of the toolbar from the edge of the toolbar area. For horizontally docked toolbars the attribute defines the distance from the left edge and for vertically docked toolbars it defines the distance from the top edge.
Definition
-
Data type
integer
-
Access
get, set
-
changed event
no
The attribute can be set to negative values, which for example is required when position grid is turned on and the toolbar shall be placed without any distance to the edge of the toolbar area (.dock_offset = -1).
The attribute is ignored for undocked toolbars (tool windows).