Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Sliderbar - color to the right?

I'm trying to add a sliderbar that is colored to the right of the slider thumb, and blank to the left.

I can see there are options to set highlightedRightTrackImage, RightTrackImage and selectedRightTrackImage, but is there a highlightedRightTrackColor or equivalent ?

Or can the standard Slider be rotated around 180 degs?

— asked March 26th 2010 by David Brown
  • color
  • right
  • slider
  • sliderbar

2 Answers

  • Accepted Answer

    You can rotate the slider by adding a rotation transform:

    var slider = Ti.UI.createSlider({ ... });
    slider.transform = Ti.UI.create2DMatrix().rotate(180);
    — answered March 27th 2010 by James K
  • Perfect thanks

    — answered March 27th 2010 by David Brown
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.