Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12522] BlackBerry: Layout Auto Sizing Behavior

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-02-13T17:01:34.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.0, 2013 Sprint 04 BB, 2013 Sprint 04
ComponentsBlackBerry
Labelsn/a
ReporterJosh Roesslein
AssigneeRussell McMahon
Created2013-01-31T19:11:09.000+0000
Updated2013-02-13T18:32:00.000+0000

Description

Currently our layout does not support auto sizing of all views. Views will either "size" or "fill" by default if height and/or width is not specified. Currently if neither of these is provided, no value is computed causing the view to not be rendered. See [UI Composite Layout, Auto Size Classification](http://docs.appcelerator.com/titanium/latest/#!/guide/UI_Composite_Layout_Behavior_Spec-section-4196675_UICompositeLayoutBehaviorSpec-Viewautosizeclassification) for details on how views should auto size.

Comments

  1. Lokesh Choudhary 2013-02-12

    Verified the issue by not setting the height or width.The switch & label appear at the center Thus closing the issue Environment: Ti Studio : 3.1.0.201302101654 Ti BB SDK : 3.1.0.v20130212113336 Mac OSX : 10.8.2 win 7 64 bit Win 8 BB simulator : 10.0.9.386
  2. Lokesh Choudhary 2013-02-13

    Reopening the issue as the autosizing is not working on device.The controls seen on simulator but not on device Environment: Ti Studio : 3.1.0.201302101654 Ti BB SDK : 3.1.0.v20130212145409 Mac OSX : 10.8.2 win 7 64 bit Win 8 Dev alpha 10 device
  3. Lokesh Choudhary 2013-02-13

    Verified the fix & the controls are now displaying properly on BB simulator/device Environment: Ti Studio : 3.1.0.201302101654 Ti BB SDK : 3.1.0.v20130213092222 Mac OSX : 10.8.2 win 7 64 bit Win 8 BB simulator : 10.0.9.386 Dev alpha 10 device

JSON Source