2.194 .majortabwidth
Defines the width of all majortabs (main index) of a notebook.
With the default value 0, the width is calculated automatically so that the majortabs of all visible notepages (.real_visible = true) fit.
If the attribute .sizeraster is set at true, the value is to be indicated in grid coordinates.
Definition
-
Data type
integer
-
Access
get, set
-
changed event
yes
Note
When a notepage is set at visible or non-visible, a recalculation of several tabs is necessary. This recalculation can also change the size of notepages and of all child objects. Therefore we suggest you to use 0 only for notebooks having a static layout.
Note for the IDM for Windows
On Microsoft Windows, the value 0 means that Windows determines the width of each tab individually. However, if the attribute .majortabheight is not 0 or the attribute .tabalignment is set to 1, the width is calculated so that the text and image of the widest, visible tab can be displayed. All tabs get this uniform width.
See also
Attribute