Open the settings of Label1 and open its Framing Spec window,
which looks like this:
You can select an Attachment type from the drop-down list for each edge (top, bottom, left, and right) of a part. Use the radio buttons across the top of the page to see the settings for each of the four edges. You can attach any edge of the part to the following:
By default, when you add a part in the Composition Editor, its top and left edges are attached to its parent window.
This is a good choice when you need to keep two parts together, such as a label and a entry field.
This is a good way to keep a part sized at a constant width or height, even if the part's position changes.
Allows a part to remain the same distance from an edge or other part.
This allows the edges of a part to float freely, adjusting for font size changes and changes in the length of text caused by translation.
Also, two opposing edges cannot be unattached at the same time. In addition, an edge cannot be attached to its own opposite edge if the opposite edge is unattached. If XmATTACHNONE is not available in the Attachment type drop-down list for an edge, attach the edge's opposing edge to something other than itself first and then XmATTACHNONE will be available.
Below the Attachment type drop-down list are fields used in conjunction with the different attachment types.
For more information on attachment types, refer to the IBM Smalltalk Programmer's Reference.