2.427 .xauto
This attribute defines whether the IDM should automatically determine the object width, the distance of the object from the left edge or the distance from the right edge of the parent object.
Definition
-
Data type
integer
-
Access
get, set
-
changed event
yes
Value range
- -1
-
The distance from the left edge of the parent object is computed by the IDM.
The distance from the right edge and the object width (.xright and .width) need to be defined by the developer. For some objects the IDM can also determine the width automatically from the contents.
- 0
-
The object width is computed by the IDM. The actual width can be queried with the .real_width attribute.
The distances from the left and right edges of the parent object (.xleft and .xright) need to be defined by the developer.
- 1
-
The distance from the right edge of the parent object is computed by the IDM.
The distance from the left edge and the object width (.xleft and .width) need to be defined by the developer. For some objects the IDM can also determine the width automatically from the contents.
See also