[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 866
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 space to add on each side of a control. |
|
|
Space added to the widget's preferred size |
|
|
The space at the left border. |
|
|
The space at the top border. |
|
|
The space at the right border. |
|
|
The space at the bottom border. |
Version 3.2 | Generated 2024-02-25 | Home |