Next: Colors, Previous: Font, Up: Generic Attributes [Contents][Index]
The field labeled "Misc. Attributes" allows the setting of a number of attributes that don’t fit into any other category.
First you can set the alignment of the object’s label. It can be placed inside the object or outside of it and in 9 different positions. Use the choice objects labeled "Label/Align" and "In/Out" for this purpose.
Another important property of an object is how it reacts if the size of the form it belongs to is changed. It may keep its original size or may be resized in x- or y-direction or both. The details are controlled via its resize and gravity properties as described in chapter 4.
With the choice objects labeled "Resize" you can control if an object is to be resized in x- or y-direction or both or none. You may also specify if the object’s upper left hand corner or its lower right hand corner is supposed to keep a fixed distance from the form’s borders via the choice objects labeled "NW Gravity" and "SE Gravity". Please note that these properties aren’t orthogonal, with the NWGravity and SEGravity overriding the resize property if necessary (also see the program grav in the demo directory that lets you experiment with these properties).