[TIMOB-11732] BlackBerry: Titanium.UI.Slider - setting width to the slider only crops it, is not actually setting the right end where is should be.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-04-10T18:02:48.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 08 BB, 2013 Sprint 08, Release 3.2.0 |
Components | BlackBerry |
Labels | blackberry, qe-testadded |
Reporter | Dan Tamas |
Assignee | Josh Roesslein |
Created | 2012-11-10T17:44:22.000+0000 |
Updated | 2014-02-19T07:04:49.000+0000 |
Description
Trying to set the width of a slider does not change the end of the slider in the correct position, but it allows you to go further to the right even if there is no visible slider.
Please see the shots for a better understanding :)
var win = Ti.UI.createWindow({
backgroundColor:'#f00'
});
win.open();
var slider_ok = Titanium.UI.createSlider({
top:10,
min: 3,
max: 26,
value: 10
});
var slider_wrong = Titanium.UI.createSlider({
top:100,
width:300,
min: 3,
max: 26,
value: 10
});
win.add(slider_ok);
win.add(slider_wrong);
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2012-11-10 at 18.39.41.png | 2012-11-10T17:44:22.000+0000 | 65365 |
Screen Shot 2012-11-10 at 18.39.46.png | 2012-11-10T17:44:22.000+0000 | 68853 |
I've tried editing the size of my sliders in the CuppaCoffee app of mine and this is a problem as the container view is being altered, not the actual control.
Verified with: Appcelerator Studio: 3.2.0.201311122045 SDK:3.2.0.v20131112180422 alloy: 1.3.0 acs: 1.0.7 npm: 1.3.2 titanium: 3.2.0 titanium-code-processor: 1.0.3 Xcode:5.0.1 Device: Blackeberry Z 10 OS: Mac OSX 10.9 BB OS 10.0.10.261 Slider working as expected even when set with width.Not cropping. Hence closing the issue as working as expected.