[TIMOB-1130] Slider breaks when value is set to 0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:55:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.4.0 |
Components | iOS |
Labels | defect, ios, iphone, slider |
Reporter | ctredway |
Assignee | Blain Hamon |
Created | 2011-04-15T02:44:50.000+0000 |
Updated | 2011-04-17T01:55:17.000+0000 |
Description
A premium customer submitted a ticket that when they set a sliders value to 0 the slider became unusable. I have reproduced this as well. Code below.
var basicSlider = Titanium.UI.createSlider({
min:0,
max:10,
value:0,
width:100,
height:'auto',
top:30
});
Helpdesk ticket:
http://helpdesk.appcelerator.net/tickets/3061">http://helpdesk.appcelerator.net/tickets/3061
(from [2d6b09ab17ba72955c9f998f72ad0da235e4978c]) Closes #1130: Have to have slider take on non-zero value at creation to force subview drawing. http://github.com/appcelerator/titanium_mobile/commit/2d6b09ab17ba72955c9f998f72ad0da235e4978c"> http://github.com/appcelerator/titanium_mobile/commit/2d6b09ab17ba7...