X-Designer provides a mechanism for adding your own resources, called custom attributes. When these are added to a widget which becomes a definition, they are inherited by instances of the definition. For instances, a separate dialog allows you to override the original value assigned to this attribute.
Defining a Custom Attribute
To define a custom attribute, select the widget in the design hierarchy and then choose "Custom attributes" from the Widget menu.
There are three sections to this dialog:
In all cases, except the name, you can use the defaults provided by X-Designer.
Overriding Attributes
For an instance of a definition, you may wish to override the value set for a custom attribute. Do this by selecting "Override attributes" from the Widget menu.
The dialog lists all of the attributes inherited by the instance and allows you to change their values as necessary.
Annotations
There are seven categories in this menu, each of which is a toggle button. To see For Attributes, the criterion is that the widget has a custom attribute set for it. Instances of definitions may have inherited the attribute from the definition.
See also: