DIF_CENTERTEXT

Far Manager

DIF_CENTERTEXT

The DIF_CENTERTEXT flag allows to align text in the DI_TEXT and DI_VTEXT elements centering it relatively to element's geometry.

Controls

The DIF_CENTERTEXT flag is applicable to the following dialog items:

ControlDescription
DI_TEXT Text string.
DI_VTEXT Vertical text string.

Remarks

If you specify this flag, it is necessary to fill the X2 coordinate (for the DI_TEXT control) and the Y2 coordinate (for the DI_VTEXT control) correctly.
See also: