User`s guide
11 Lay Out a Programmatic GUI
Norm alized. Normalized units represent a percentage of the size of the
parent. The value of normalized units lies between 0 and 1. For example, if
a panel contains a push button and the button units setting is
normalized,
then the push button
Position setting [.2 .2 .6 .25] means that the left side
of the push button is 20 percent of the panel width from the left side of the
panel; the bottom of the button is 20 percent of the panel height from the
bottom of the panel; the button itself is 60 percent of the width of the panel
and 25 percent of its height.
Familiar Units o f Mea sure. At times, it may be convenient to use a more
familiar unit of measure, e.g., inches or centimeters, when you are laying out
the GUI. However, to preserve the look of your GUI o n different computers,
remember t o change the figure
Units property back to characters ,and
the components’
Units properties to characters (nonresizable GUIs) or
normalized (resizable GUIs) before you save the code file.
11-98