Open topic with navigation
<node3d:GUI>.setLength
Sets the length of a GUI object.
<node3d:GUI>.setLength( |
|
length |
) |
|
Remarks
This command will set the length of the GUI object. The default length of GUI objects is 1. So the value specified by this command is a factor of the default length. So if you want to double the length of a textbox, you would set the length to 2.
Return Value
None
Example
list = viz.addButtonLabel('ABSDF')
list.setPosition(.5,.5)
list.setLength(1.0)