Try OpenEdge Now
skip to main content
Online Help
Introducing the Progress Developer Studio for OpenEdge Visual Designer : Tasks : Developing a visual container : Working with UI controls : Defining properties and appearance : Positioning objects on a container : Spacing objects
 
Spacing objects
The Design menu provides commands that facilitate regular spacing and alignment of controls.
Use this procedure to regulate spacing of objects relative to one another. All space calculations are relative to horizontal or vertical edges of the affected objects.
1. Select two or more objects between which you want to adjust spacing. In most cases, the first object that you select - the base object - will not move; the objects that you select subsequently will move in response to the commands you choose. (An exception to this rule may occur with the Make Equal command.)
2. Select Format > Horizontal Spacing or Format > Vertical Spacing, and choose the appropriate command:
*Make Equal - The outermost objects remain in their original position, while any objects between those objects move so that all are equally spaced.
*Increase - Space equal to the grid width or grid height value specified in your preferences is added to the existing space between each pair of objects.
*Decrease- Space equal to the grid width or grid height value specified in your preferences is removed from the existing space between each pair of objects.
*Remove - All horizontal or vertical space between each pair of objects is removed, so that an edge of each object is horizontally or vertically adjacent to an edge of the next.