

Design › Designing Client Procedures › Lesson Activity › eGolfer Home › Position Objects on the Dialog
Position Objects on the Dialog
Now that we have all of the GUI objects added to the primary dialog, we can do a little cleanup as to the size and position of the objects using the positioning feature.
Follow these steps:
- Choose the remove push button (as it has the longest name) make it a little smaller. Then, with the Ctrl key held down, select all of the other push buttons and from the Menu Bar select Edit, and then Position…. Check the Equal Height and Equal Width check boxes, and then select the OK push button.
- Now that all the push buttons are the same size, you can choose one to use as the pivot point and align the rest (not including the logout push button) vertically left or right relative to the selected one. Separate the groups of buttons within each group box by a vertical distance of 5.
- Make the two group boxes of equal width and position one vertically left or right relative to the first one selected.
- Position the prompt (Welcome) and the field (First Name) horizontally middle relative to each other, set them to equal height, and separate them horizontally by 5.
- Position the prompt (Your Handicap Index is) and the field (Handicap Index) horizontally middle relative to each other, set them to equal height, and separate them horizontally by 5.
- Align the two fields containing the name and handicap index horizontally relative to the two push buttons.
A few other tweaks can be required, but by now your dialog, design should be looking fairly close to that shown in the window example earlier.
Copyright © 2013 CA.
All rights reserved.
 
|
|