[TIMOB-12854] Blackberry : If the width & height are not specified the activity indicator should be considerably bigger than the current
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2013-04-09T23:59:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Josh Roesslein |
Created | 2013-02-26T00:20:15.000+0000 |
Updated | 2017-03-13T21:06:12.000+0000 |
Description
Description:
1.Run the following code on BB simulator/device:
var win2 = Ti.UI.createWindow({
backgroundColor: 'yellow'
});
var activityIndicator = Ti.UI.createActivityIndicator({
//top:60,
//left:60,
//height:Ti.UI.SIZE,
//width:Ti.UI.SIZE
});
win2.add(activityIndicator);
activityIndicator.show();
win2.open();
2.launch the app & notice the activity indicator
Actual Result:
1.The activity indicator is not big enough
Expected result:
1.The activity indicator should be at least 5 times bigger than the current
Screenshot for the current activity indicator is attached
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2013-02-25 at 4.19.32 PM.png | 2013-02-26T00:20:15.000+0000 | 45154 |
Indicators only support a "preferred" width and height. It will try to match the size provided the best it can.
Setting no width or height should cause the indicator to use the smallest supported size. There is also a limit on how large the indicator can grow. If you set the size larger than the biggest supported indicator, the indicator will be centered within this bounds.
Closing ticket as the issue will not fix.