Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11846] BlackBerry: Window layout regression

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-11-24T20:14:15.000+0000
Affected Version/sBB Preview 3
Fix Version/sRelease 3.1.0, 2012 Sprint 24, BB Preview 3
ComponentsBlackBerry
Labelsn/a
ReporterJosh Roesslein
AssigneeJosh Roesslein
Created2012-11-21T20:12:20.000+0000
Updated2013-01-22T19:19:31.000+0000

Description

The layout for windows is not working properly. It seems to be defaulting to "stack" layout. It should be using absolute layout by default to layout its children.

Test Case

var win = Ti.UI.createWindow({
    backgroundColor: '#fff'    
});

var startSocket = Ti.UI.createButton({
    title: 'Trim Drone',
    top: 50, left: 10
});
win.add(startSocket);

var sendTo = Ti.UI.createTextField({
    value: '192.168.1.1',
    top: 300, left: 10
});
win.add(sendTo);

win.open();

Attachments

FileDateSize
Screen Shot 2012-11-21 at 12.16.45 PM.png2012-11-21T20:17:12.000+000022218

Comments

  1. Josh Roesslein 2012-11-21

    Attached screen shot showing correct behavior.
  2. Lokesh Choudhary 2013-01-22

    The window layout is working properly like the screenshot given by josh for the right behavior. Environment: Ti Studio : 3.1.0.201212191959 Ti BB SDK : 3.1.0.v20130114171802 Mac OSX : 10.8.2 win 7 64 bit Win 8 BB simulator : 10.0.9.386

JSON Source