[TIMOB-12490] BlackBerry: Switch control does not display
GitHub Issue | n/a |
---|---|
Type | Sub-task |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-02-13T17:02:24.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.1.0, 2013 Sprint 04 BB, 2013 Sprint 04 |
Components | BlackBerry |
Labels | sdk-bb |
Reporter | Russell McMahon |
Assignee | Russell McMahon |
Created | 2013-01-30T10:08:48.000+0000 |
Updated | 2013-02-13T18:26:23.000+0000 |
Description
Test Case
var basicSwitch = Ti.UI.createSwitch({
value:true
});
win.add(basicSwitch);
Expected: Should see the Switch control auto sized correctly.
Actual: No control is NOT visible.
This control is also affected by autosizing.
Russell, going to keep ticket open until we fix autosizing. It will probably require handling each control specially since some "fill" while others "size". Also we should verify this is fixed before closing.
Sounds good.
Verified the issue.Added a switch to the window with out any height ,width etc & it popped up in the center of the window 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 are not displayed on device but seen on simulator 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 switch control is getting displayed 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