[TIMOB-11846] BlackBerry: Window layout regression
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-11-24T20:14:15.000+0000 |
Affected Version/s | BB Preview 3 |
Fix Version/s | Release 3.1.0, 2012 Sprint 24, BB Preview 3 |
Components | BlackBerry |
Labels | n/a |
Reporter | Josh Roesslein |
Assignee | Josh Roesslein |
Created | 2012-11-21T20:12:20.000+0000 |
Updated | 2013-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
File | Date | Size |
---|---|---|
Screen Shot 2012-11-21 at 12.16.45 PM.png | 2012-11-21T20:17:12.000+0000 | 22218 |
Attached screen shot showing correct behavior.
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