[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControlBorderSpacing.InnerBorder

Amount of pixel added to the widgetset's preferred size

Declaration

Source position: controls.pp line 693

published property TControlBorderSpacing.InnerBorder: Integer
  read FInnerBorder
  write SetInnerBorder
  stored IsInnerBorderStored
  default 0;

Description

When calculating the preferred size of control, the LCL asks first the widgetset. For controls like TButton the widgetset can return a preferred size. The InnerBorder is added twice to this size. If the widgetset does not return a preferred size, the InnerBorder is not used.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.