[TIMOB-12522] BlackBerry: Layout Auto Sizing Behavior
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-02-13T17:01:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.1.0, 2013 Sprint 04 BB, 2013 Sprint 04 |
Components | BlackBerry |
Labels | n/a |
Reporter | Josh Roesslein |
Assignee | Russell McMahon |
Created | 2013-01-31T19:11:09.000+0000 |
Updated | 2013-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.
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
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
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