Show: Delphi C++
Display Preferences

FMX.Controls.TControl.Padding

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Padding: TBounds read GetPadding write SetPadding;

C++

__property Fmx::Types::TBounds* Padding = {read=GetPadding, write=SetPadding};

Properties

Type Visibility Source Unit Parent
property public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Specifies the control's padding.

The Padding of a control specifies how close, in pixels, the control's children can come to each of its edges (top, left, bottom, right). Padding adds space to the inner side of the control.

The control's children are repositioned and resized, if necessary, to maintain the Padding.

The following image shows how Padding and Margins properties affect alignment, position, and size of controls.

Margins Padding Control.png

See Also

Personal tools
In Other Languages
Previous Versions
Assistance