GuiLabelSetVerticalAlign

From Multi Theft Auto: Wiki
Revision as of 15:30, 25 August 2007 by IJs (talk | contribs) (New page: {{Client function}} __NOTOC__ This function sets the vertical alignment of a text label. ==Syntax== <syntaxhighlight lang="lua"> number guiLabelSetVerticalAlign ( element theLabel, int align ) </syntaxhighlight> ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function sets the vertical alignment of a text label.

Syntax

number 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