Difference between revisions of "LCL AutoSizing"
From Lazarus wiki
Jump to navigationJump to search (New page: ==Overview / Terminology== This page explains the LCL auto sizing algorithm. AutoSizing means here: Automatic resizing and repositioning of LCL controls. ==Properties== The following pr...) |
|||
Line 20: | Line 20: | ||
==Order== | ==Order== | ||
+ | |||
+ | The main method is TWinControl.AlignControls. |
Revision as of 19:58, 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.