Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12490] BlackBerry: Switch control does not display

GitHub Issuen/a
TypeSub-task
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-02-13T17:02:24.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.0, 2013 Sprint 04 BB, 2013 Sprint 04
ComponentsBlackBerry
Labelssdk-bb
ReporterRussell McMahon
AssigneeRussell McMahon
Created2013-01-30T10:08:48.000+0000
Updated2013-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.

Comments

  1. Russell McMahon 2013-01-31

  2. Josh Roesslein 2013-01-31

    This control is also affected by autosizing.
  3. Josh Roesslein 2013-01-31

    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.
  4. Russell McMahon 2013-01-31

    Sounds good.
  5. Lokesh Choudhary 2013-02-12

    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
  6. Lokesh Choudhary 2013-02-13

    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
  7. Lokesh Choudhary 2013-02-13

    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

JSON Source