FMX.Layouts.TScaledLayout

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTScaledLayout

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.

ScaledLayout.png

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