[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Automatically adjusts the size of the control using the specified proportions.
Source position: controls.pp line 858
public procedure TControlBorderSpacing.AutoAdjustLayout( |
const AXProportion: Double; |
const AYProportion: Double |
); |
AYProportion |
|
Scaling factor applied to height values. |
AutoAdjustLayout is a procedure used to automatically adjust the size of the control using the specified proportions.
AXProportion and AYProportion are Double values which contain the scaling factor applied to width and height values in corresponding properties. For example, 1.25 indicates an increase to 125% of the original value, and 0.5 indicates a 50% decrease in the original value.
AutoAdjustLayout scales the value in width and height for properties, including:
When property values are altered in the scaling operation, the InvalidatePreferredSize method is called to recalculate the dimensions for the control. The Change method is called when value(s) in InnerBorder have been altered.
|
The border space on each of the edges for the associated control. |
|
|
Space added to the preferred size for the widget. |
|
|
The border space on the left edge of the associated control. |
|
|
The border space on the top edge of the associated control. |
|
|
The border space on the right edge of the associated control. |
|
|
The border space on the bottom edge of the associated control. |
Version 4.0 | Generated 2025-05-03 | Home |