FMX.Layouts.TScaledLayout

Delphi
TScaledLayout = class(TControl)
C++
class PASCALIMPLEMENTATION TScaledLayout : public Fmx::Controls::TControl
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Layouts.pas FMX.Layouts.hpp |
FMX.Layouts | FMX.Layouts |
Description
A FireMonkey scaled layout is a wrapper over TControl and acts like a layer for other objects with the possibility of scaling its content according to the physical dimensions of the layout.
A scaled layout is a container for other graphical objects that can scale its contents as shown in the following image.
The label and the button are scaled according to the dimensions of the form that contains the layer aligned as the client so that the layer occupies the entire surface.
See Also
- FMX.Layouts.TLayout
- FireMonkey Layouts Strategies
- GridExplorer sample application