![]() |
GuiSliderCtrl
Hi,
I made a Slider Ctrl NPC Code: but my slider goes about 0.847 and so on, whats wrong? i thought ticks=1; would tell it to make 0,1,2,3,4,5? |
ticks is an option to display visual ticks on the bar, isn't it?
|
As I said on IRC, try making ticks to be 10 or 11, not 1.
|
ticks=10; or ticks=11; changes nothing =/
how to make my slider go over .5 or full numbers only? like 0 0.5 1 1.5 ... or 0 1 2 3... |
Quote:
|
uhm? tried ticks=value*10;
and value=value*10; yeah i replaced value with the actually value but it dont changes anything :( |
try:
value = "1"; out of ideas.. |
Quote:
|
Currently the "ticks" are only for display, it will only snap to the closest tick if you press the Shift-key while moving the slider. Eventually we could add an option to always snap to the closest tick ?
|
Quote:
PHP Code:
|
All times are GMT +2. The time now is 03:59 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.