FMX.Layouts.TFlowLayout.HorizontalGap

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property HorizontalGap : Single read FRules.HorizontalGap write SetHGap;

C++

__property float HorizontalGap = {read=FRules.HorizontalGap, write=SetHGap};

Properties

Type Visibility Source Unit Parent
property published
FMX.Layouts.pas
FMX.Layouts.hpp
FMX.Layouts TFlowLayout

Description

Specifies the minimum distance between two adjacent child controls of a TFlowLayout.

If HorizontalGap has a negative value, the child controls are overlapped following the direction specified by the FlowDirection property.

Gap and direction Result

Positive Gap

Positive Gap.png

Negative Gap; Direction=LeftToRight

Negative Gap LtR.png

Negative Gap; Direction=RightToLeft

Negative Gap RtL.png

See Also