2.9 Aligning Push Buttons
Now we can align the two Push
button parts. The left border of the OK push button part must be
aligned to the left border of the Static text part. The right border of
the EXIT push button part needs to be aligned to the right border of the Entry
field.
Follow these steps:
- Move the pointer above and to the
left of the Static text part.
- Click and hold the left mouse
button.
- Move the pointer so that the Static
text part and the OK push button part are both covered by the
gray rectangle.
- Release the left mouse button. The
two selected parts are highlighted.
- Move the pointer to the Static
text part, and then press the right mouse button to get the pop-up menu.
- Select the Align
menu choice from the pop-up menu then select the left justification icon
from the submenu. This action aligns the
OK push button part to the left border of the Static text
part.
Next align the EXIT push
button part with the Entry field part.
- Move the pointer above and to the
left of the Entry field part.
- Click and hold the left mouse
button.
Move the pointer so that
the Entry field part and the EXIT push button part are
both covered by the gray rectangle.
- Release the left mouse button. The
two selected parts are highlighted.
- Move the pointer to the Entry
field part, and then press the right mouse button to get the pop-up menu.
- Select the Align
menu choice from the pop-up menu then select the right justification icon
from the submenu. This action
aligns the Exit push button part to the right border of the Entry
field part.
You can align the two Push button
button parts to each other horizontally in the same way that you aligned the Static
text and Entry field parts.
The Customer Inquiry window
should now look like the following:
- Click on
to indicate that you've done all the steps.