BlzFrameSetTextAlignment
- Parameters
-
frame framehandle
vert textaligntype
horz textaligntype
- comment
-
Sets the vertical and horizontal text alignment for the frame.
Accepts the following constants for each axis:
- Vertical:
TEXT_JUSTIFY_TOP
,TEXT_JUSTIFY_MIDDLE
,TEXT_JUSTIFY_BOTTOM
- Horizontal:
TEXT_JUSTIFY_LEFT
,TEXT_JUSTIFY_CENTER
,TEXT_JUSTIFY_RIGHT
Overwrites the corresponding FDF properties (like
Justifytop
, etc.).Should work with the following frame types:
EDITBOX
,SIMPLEMESSAGEFRAME
,SIMPLEFONTSTRING
. - Vertical:
- patch
-
1.31.0.11889
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
native BlzFrameSetTextAlignment takes framehandle frame, textaligntype vert, textaligntype horz returns nothing