PDA

View Full Version : Show tick marks on Slider



satdaten
21 Jul 2010, 11:29 AM
I'm trying to show the tick marks (thumbs?) on a slider I'm making. I don't see anything in the Touch API to do this, however. Is it possible within the slider configuration or am I going to have to get dirty to do it?

Example code:

{
xtype: 'slider',
id: 'updateInterval',
increment: 5,
label: "Update Interval: ",
labelAlign: 'top',
value: 1,
values: [1,5,10,15],
minValue: 1,
maxValue: 15,
},Basically I want text to show up under the places where it puts the slider with the numbers 1, 5, 10, and 15. Any help would be appreciated!

evant
21 Jul 2010, 6:12 PM
Currently there's nothing to do this out of the box, you'd need to modify the slider class.