User's Guide


Setting values for framingSpec

Open the settings of Label1 and open its Framing Spec window, which looks like this:
Framing Spec window

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:

Tip icon
When your application must support multiple display resolutions it is very important to leave two adjacent edges, such as top and left or bottom and right, floating freely. This enables your window parts to size appropriately for different display resolutions.

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.

Offset
Used with all attachments except XmATTACHNONE

Position
Only used with XmATTACHPOSITION

Attached parts
Only used when attaching a part to another sibling part

For more information on attachment types, refer to the IBM Smalltalk Programmer's Reference.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]