ComponentOne Sizer 8.0
Proportional Sizing

AutoSizeChildren = 7 – azProportional

This is the easiest setting to explain. When the Elastic gets resized, all its children are resized proportionally. The picture below shows an example:

The form shown above has a single Elastic control with the Align property set to 5 - asFill and AutoSizeChildren set to 7 - azProportional. All other controls are placed on the Elastic. When the form is resized, all controls are also resized and retain their proportions.

Note that the fonts are not automatically resized unless you set the FontResize property to True.

Like all other settings, 7 - azProportional works also at design time. This is normally a very useful feature, but it can get in the way if you want to open up more room on the form for other controls. To disable the auto resizing feature of the Elastic, set AutoSizeChildren to azNone, do all the editing you want, then set it back to azProportional. Alternatively, you may use the FreezeElastics property to temporarily suspend all Elastic resizing.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback