# Form Attachments

The Constraints option in the Widget menu provides a way of specifying widget attachments. The widget must be a child of a form; simply select the widget, then chose the 'Constraints' option from the Widget menu at the top of the WorkShop Visual display.

The dialog contains four areas for displaying and setting constraints to the left, right, top, and bottom of a widget. Each separate area has the same basic elements: an option menu for selecting the Type of constraint, a Widget field for specifying which widget is the cause of the constraint, and an Offset field for specifying any value of the constraint.

The Resizable option allows you to specify whether a widget can be resized by an user action; resizing a widget will have a knock on effect on any further widgets which are constrained by it, and the resource is placed here for reasons of logic and convenience.

NOTES

It is recommended that the Layout Editor is used in preference to the Constraints dialog, unless you are very familiar with the behavior of the Motif form widget. The dialog is useful, however, if you wish to undo some attachments quickly.

The Resize resource located within the Settings page of the Label resource panel is not the same as the Resizable resource of this panel.

See also:

- Layout Editor
- About WorkShop Visual