Skip to content

gui_getscrollbarwidth

Tristan Hume edited this page Apr 23, 2012 · 3 revisions

#GUI.GetScrollBarWidth

##Syntax GUI.GetScrollBarWidth : int

##Description Returns the width of a scroll bar. Useful when placing a scroll bar widget beneath or beside another widget or object.

##Example See the ScrollPic program in GUI.CreateHorizontalScrollBarFull for an example of GUI.GetScrollBarWidth.

##Status Exported qualified.

This means that you can only call the function by calling GUI.GetScrollBarWidth, not by calling GetScrollBarWidth.

##See also GUI.CreateHorizontalScrollBar and GUI.CreateVerticalScrollBar.

Clone this wiki locally