FMX.Layers3D.TAbstractLayer3D.Margins

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Margins: TBounds read GetMargins write SetMargins;

C++

__property Fmx::Types::TBounds* Margins = {read=GetMargins, write=SetMargins};

Properties

Type Visibility Source Unit Parent
property public
FMX.Layers3D.pas
FMX.Layers3D.hpp
FMX.Layers3D TAbstractLayer3D

Description

Specifies the 3D layer's margins.

The Margins of a 3D layer are the distances (in pixels) from each edge (top, left, bottom, right) to another control within the same Parent or to the edge of its Parent.

If a margin is not 0, no other control will come closer to the 3D layer than the specified distance. If the distance from a Parent edge to the corresponding control edge is smaller than the specified Margins for that edge, the control is repositioned and resized, if necessary, to maintain the specified distance.

See Also