Difference between revisions of "LCL AutoSizing"
From Lazarus wiki
Jump to navigationJump to search (→Order) |
|||
Line 22: | Line 22: | ||
The main method is TWinControl.AlignControls. | The main method is TWinControl.AlignControls. | ||
+ | |||
+ | **AdjustClient | ||
+ | **alTop,alBottom,alLeft,alRight,alClient,alCustom,alNone |
Revision as of 20:06, 5 September 2007
Overview / Terminology
This page explains the LCL auto sizing algorithm. AutoSizing means here: Automatic resizing and repositioning of LCL controls.
Properties
The following properties defines the behavior of the LCL autosizing:
- Current Left,Top,Width,Height,ClientWidth,ClientHeight
- Loaded Left,Top,Width,Height,ClientWidth,ClientHeight
- AutoSize
- Anchors
- AnchorSides
- Align
- BorderSpacing
- ChildSizing
- Constraints
For Delphi compatibility the LCL supports the method AdjustClientRect which is an extension to the BorderSpacing properties.
Order
The main method is TWinControl.AlignControls.
- AdjustClient
- alTop,alBottom,alLeft,alRight,alClient,alCustom,alNone