[TIMOB-13971] BlackBerry : Changes in the DPI are needed to keep the parity of controls layout across platforms
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-12-16T03:06:00.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 12 BB, 2013 Sprint 12, Release 3.1.2, Release 3.2.1, Release 3.3.0 |
Components | BlackBerry |
Labels | module_layout, qe-testadded, regression, sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Pedro Enrique |
Created | 2013-05-23T21:47:48.000+0000 |
Updated | 2014-02-19T18:26:38.000+0000 |
Description
Description:
1.Create a BB app from the code below:
var win = Ti.UI.createWindow({
backgroundColor:'white',
});
var button1 = Ti.UI.createButton({
title:'HardCoded',
top:30,
height:40,
width:60
});
var button2 = Ti.UI.createButton({
title:'percentage',
top: '25%',
width:'45%'
});
var button3 = Ti.UI.createButton({
title:'Size',
//top:70
height:Ti.UI.SIZE,
width:Ti.UI.SIZE
});
var lbl = Ti.UI.createLabel({
text:'Test Label',
top:'70%',
font:{fontSize:20},
height:Ti.UI.SIZE,
width:Ti.UI.SIZE
});
win.add(button1);
win.add(button2);
win.add(button3);
win.add(lbl);
win.open();
2. Build & run the app on BB device/simulator
3. Run the same app on an iphone device/simualator
Actual Result:
1. The controls layout & the size vary according to the platform
Expected Result:
1. The controls ahould have parity across platforms for layout & size
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2013-05-23 at 2.43.12 PM.png | 2013-05-23T21:47:48.000+0000 | 53785 |
Screen Shot 2013-05-23 at 2.47.02 PM.png | 2013-05-23T21:47:48.000+0000 | 93679 |
PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/75
Closing as Fixed. Verified with Environment: Studio: 3.1.2.201307171817 Titanium SDK:3.1.2.v20130718094558 acs:1.0.3 alloy:1.1.3 npm:1.3.2 titanium:3.1.1 titanium-code-processor:1.0.1 OS: OSX 10.8 Device:Blackberry-Z10(v 10.0.10.261),iPhone Simulator(v6.0), Nexus 7(v4.1) Xcode: 4.5.1 blackberry SDK: 10.1.0.1020
Reopened for Appcelerator Studio, build: 3.2.0.201312121648 Titanium SDK, build:3.2.0.v20131212122847 ├── acs@1.0.10 ├── alloy@1.3.0-cr ├── npm@1.3.2 ├── titanium@3.2.0-cr3 └── titanium-code-processor@1.1.0-cr2 *note* it is a regression against Titanium SDK 3.1.3.GA
Actual result
No label "Test Label" is visible.Olga showed this one to me. I think this actually might be a font issue.
PR for 3.2.x https://github.com/appcelerator/titanium_mobile_blackberry/pull/195
PR for master https://github.com/appcelerator/titanium_mobile_blackberry/pull/196
Looked over PR and it looks good. Resolving ticket so GL can test.