Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12706] Blackberry : Activity Indicator is not respecting positioning dimensions

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-07-16T23:57:57.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelssdk-bb
ReporterLokesh Choudhary
AssigneePedro Enrique
Created2013-02-12T18:52:13.000+0000
Updated2017-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

FileDateSize
Screen Shot 2013-02-12 at 10.51.44 AM.png2013-02-12T18:52:13.000+000034988

Comments

  1. Josh Roesslein 2013-02-23

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

    Closing ticket as fixed.

JSON Source