GuiLabelSetVerticalAlign: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 5: Line 5:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
number guiLabelSetVerticalAlign ( element theLabel, int align )
bool guiLabelSetVerticalAlign ( element theLabel, int align )
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 15:32, 25 August 2007

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