GuiLabelSetVerticalAlign

From Multi Theft Auto: Wiki
Revision as of 15:32, 25 August 2007 by IJs (talk | contribs) (→‎Syntax)
Jump to navigation Jump to search

This function sets the vertical alignment of a text label.

Syntax

bool guiLabelSetVerticalAlign ( element theLabel, int align )

Required Arguments

  • theLabel: The text label to set the vertical alignment on.
  • align: The alignment type. Valid types are:
    • CGUI_ALIGN_TOP = 0,
    • CGUI_ALIGN_BOTTOM = 1,
    • CGUI_ALIGN_VERTICALCENTER = 2

Returns

Returns true on success, false otherwise.

Example

See Also

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows