TiSlidingScale.ScaleAlignStyle
TiSlidingScale See Also
Specifies the how the Ticks (Major, Mid, and Minor) are aligned at the tick
label positions with respect to the Scale Background.
type TiScaleAlignStyle = (itasCenter, itasSide);
property ScaleAlignStyle : TiScaleAlignStyle;
Description
Set TickLabelAlignment to specify how the labels are aligned at the tick label
positions. For labels that are roughly all the same size, ilaCenter is the
best alignment style to use and gives the most professional look. When the size
of the labels are not close, ilaJustified gives the most professional look.
These are the possible values:
Value
Meaning
itasSide
All Ticks are aligned to one side of the Scale Background depending on the ScaleOrientation property.
itasCenter
All Ticks are aligned to the center of the Scale Background.
Example
Delphi
iComponent.ScaleAlignStyle := itasCenter;
C++ Builder
iComponent->ScaleAlignStyle = itasCenter;
Contents | Index | Previous | Next