TDBText.OptimalFill property
If True, the font size is adjusted for optimal fill of the available space.
Declaration
property OptimalFill:;Description
OptimalFill is a
Boolean property which indicates that
the
Font height should be maximized to fill the available width in
the control. The default value for the property is
False.
Setting OptimalFill to True causes AutoSize to be set to
False. The AdjustFontForOptimalFill method is called to get
and apply the maximum font height allowed for the Width and
Height in the control.
Changing the value for the property causes Invalidate to be called
to redraw the control.
This description is the one of StdCtrls.TCustomLabel.OptimalFill.
See also
- AutoSize
- AdjustFontForOptimalFill
- TControl.Width
- TControl.Height
- TControl.Font
- TControl.Invalidate
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
