Vizard 8 » Command Index » Vizard objects » node3d » <node3d:GUI:slider>.setTickSize
8.0

<node3d:GUI:slider>.setTickSize

This action will set the size of the tick

<node3d:GUI:slider>.setTickSize(  
[x,y]  
)  
[x,y]
The size of the tick.

Remarks

The size of the tick is relative to the size of the slider. Setting the size to [0.1,2] means that the width of the tick is 1/10 the width of the slider and the height is twice the height of the slider.

Return Value

None

Example

slider = viz.addSlider()
slider.setTickSize(0.1,2)

See also

<node3d:GUI:slider>.margin