[TIMOB-12706] Blackberry : Activity Indicator is not respecting positioning dimensions
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-07-16T23:57:57.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | BlackBerry |
| Labels | sdk-bb |
| Reporter | Lokesh Choudhary |
| Assignee | Pedro Enrique |
| Created | 2013-02-12T18:52:13.000+0000 |
| Updated | 2017-03-13T18:28:51.000+0000 |
Description
Description:
1.Use the code below & run on BB simulator/device
var win2 = Ti.UI.createWindow({
});
var activityIndicator = Ti.UI.createActivityIndicator({
color: 'green',
font: {fontSize:16},
top:50,
left:50,
height:Ti.UI.SIZE,
width:Ti.UI.SIZE
});
win2.add(activityIndicator);
activityIndicator.show();
win2.open();
2.Observe the activity indicator after the app launch
Actual result:
1.The activity indicator sticks to the top left corner in spite of the top & left property provided
Expected Result:
1.The activity indicator should obey the layout dimensions provided
Attachments
| File | Date | Size |
|---|---|---|
| Screen Shot 2013-02-12 at 10.51.44 AM.png | 2013-02-12T18:52:13.000+0000 | 34988 |
The positioning and sizing bug should be fixed by TIMOB-12835. It appears SIZE is not working still, but this appears to be related to how we don't treat it as "auto size" behavior for non-container controls. Going to keep this bug open until the test case here works as expected. If you remove the width/height SIZE values, it should work fine.
Closing ticket as fixed.