[TIMOB-12567] BlackBerry : If 'top' & bottom' proporties are missing then the controls are not centered
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-26T17:34:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Russell McMahon |
Created | 2013-02-04T21:18:56.000+0000 |
Updated | 2014-06-19T12:43:17.000+0000 |
Description
Description:
1.Build & run KS on BB simulator or device
2.Goto controls -> slider -> change min/max
OR
1.Run the code below on BB simulator/device
var win = Ti.UI.createWindow();
var slider = Ti.UI.createSlider({
value: 0,
min: 0,
max: 100,
left:10,
right:10
});
win.add(slider);
win.open();
Actual results:
1.We see the slider on the top rather than in the center
Expected result:
According to pedro the layout engine should center the controls when the top & bottom proporties are missing
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2013-02-04 at 1.18.09 PM.png | 2013-02-04T21:18:56.000+0000 | 42661 |
Verified the fix & the controls are displayed at the center. Environment: Ti Studio : 3.1.1.201305150313 Ti BB SDK : 3.1.1.v20130524180421 Mac OSX : 10.8.2 win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88 Q10 Simulator : 10.1.0.1720 Q10 Dev alpha C device running 10.1.0.138