Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12854] Blackberry : If the width & height are not specified the activity indicator should be considerably bigger than the current

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2013-04-09T23:59:41.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelssdk-bb
ReporterLokesh Choudhary
AssigneeJosh Roesslein
Created2013-02-26T00:20:15.000+0000
Updated2017-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

FileDateSize
Screen Shot 2013-02-25 at 4.19.32 PM.png2013-02-26T00:20:15.000+000045154

Comments

  1. Josh Roesslein 2013-04-09

    Indicators only support a "preferred" width and height. It will try to match the size provided the best it can.
  2. Josh Roesslein 2013-04-09

    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.
  3. Lee Morris 2017-03-13

    Closing ticket as the issue will not fix.

JSON Source