[Closed] Slider Orient:#Vertical height?
Can you not scale a vertical slider?
That’s pretty retarded if that’s the case. I tried length,height,width and every other variable I could think of but nothing would let me make a taller vertical slider than the default value.
Width seemed to increase the size of the background container object but that doesn’t really help anything.
nope.
What you can try as an alternative, is a progressbar. e.g.
rollout unnamedRollout "Untitled" width:162 height:300
(
progressBar pb1 "ProgressBar" pos:[13,9] width:22 height:202 orient:#vertical
on pb1 clicked val do ( pb1.value = val )
)
createDialog unnamedRollout
You’ll have to transform the 0.0 … 100.0 range to the range you’re interested in.
Yeah that’s what I’m using right now as a substitute but it’s lacking some nice features like automatic callbacks for when it’s pressed and released. The ability for the mouse to leave the progressbar area while dragging. Ticks. A little arrow as the icon instead of being “filled up”.
The list goes on and on. It just seems pretty dumb to not be able to scale the vertical version.
yip
I guess you could get pretty far (if not getting there all the way) in mimicing one with an imgtag – depending on how critical the looks of a slider are
Hehe I started writing a drag and drop imgtag interface last night and finally decided it wasn’t worth the bother.
Or at least the way I was trying to do it wasn’t worth the bother and would probably break with subrollouts. (Which it’s going to be in.)