Aligning controls with each other
You can align selected controls by their left, right, top, or
bottom edges or their horizontal or vertical centers.
PainterBars in the Window painter
The Window painter has three PainterBars. PainterBar1 includes
buttons that perform operations that are common to many painters,
including save, cut, copy, paste, and close. PainterBar2 includes
buttons used with the Script view. PainterBar3 contains buttons that
manipulate the display of the selected control or controls. The
tools used to align, resize, and adjust the space between controls
are on a drop-down toolbar on PainterBar3.
To align controls
-
Select the control whose position you want to use to align
the others.PowerBuilder displays handles around the selected
control. -
Press and hold the Ctrl key and click the controls you want
to align with the first one.All the selected controls have handles on them.
-
Select Format>Align from the menu bar, or select the
Layout drop-down toolbar in PainterBar3. -
Select the dimension along which you want to align the
controls.PowerBuilder aligns all the selected controls with the first
control selected.