PDA

View Full Version : [INFOREQ] Ext.form.Slider trackWidth



HalilCohadarevic
15 Apr 2012, 11:54 PM
My slider is in a fieldSet and the trackWidth value of the slider is automaticaly setted to a bigger value than the slider's witdh. Even if I set another value to the trackWidth the false value is setted when the slider is rendered.

Please help.

mitchellsimoens
16 Apr 2012, 7:43 AM
Can I get a test case?

HalilCohadarevic
16 Apr 2012, 9:46 PM
{
xtype: 'sliderfield',
flex:5,
minValue : 0,
maxValue : 100
}


something like this and I found that the trackWidth of the slider was automaticaly bigger than the slider's width even if I set "trackWidth: some pixels". but when the window is repainted ( by resizing window) the value become correct.

But it's ok I setted the slider's width in CSS and it works now.

Thanks anyway.



{
xtype: 'sliderfield',
cls: 'dimmerLightSlider',
minValue : 0,
maxValue : 100
}




.dimmerLightSlider{
width: 50%;
}