GuiLabelSetVerticalAlign: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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> ...)
 
Line 14: Line 14:
**CGUI_ALIGN_BOTTOM = 1,
**CGUI_ALIGN_BOTTOM = 1,
**CGUI_ALIGN_VERTICALCENTER = 2
**CGUI_ALIGN_VERTICALCENTER = 2


===Returns===
===Returns===

Revision as of 15:31, 25 August 2007

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