Slider in a vertical mode.. iPhone
Anyone who successfully have been making the basic sliders to operate in a vertical mode? I've been trying with help of this tread:
http://developer.appcelerator.com/question/8791/2dmatrix-basic-rotate
And on my own, but… Can't do it..
Anybody else?
2 Answers
-
Accepted Answer
This worked to get a vertical slider in a small popover on an iPad app. I had to adjust the position by trial and error.
var t = Titanium.UI.create2DMatrix(); t = t.rotate(-90); slider = Titanium.UI.createSlider({ min:1.0, max:10.0, value:1, width:270, height:'auto', top:140, transform:t, });
-
If you add it to a view and rotate the view?