[TIMOB-13399] iOS: UI.iPhone.NavigationGroup cropping navigation bar by 2 pixels
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-08-09T09:24:04.000+0000 |
Affected Version/s | Release 3.0.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Josh Baker |
Assignee | Chee Kiat Ng |
Created | 2012-12-14T17:18:14.000+0000 |
Updated | 2016-08-09T09:24:04.000+0000 |
Description
2 pixels are cropped off of the navigation bar when using UI.iPhone.NavigationGroup. Please see attached for expected outcome, achieved using UI.TabGroup, and the actual outcome, when using UI.iPhone.NavigationGroup.
*app.js: actual_navigationbar_implementation*
var win1 = Titanium.UI.createWindow({
backgroundColor : '#fff',
title : 'Test'
});
var nav = Titanium.UI.iPhone.createNavigationGroup({
window : win1
});
var win = Titanium.UI.createWindow();
win.add(nav);
win.open();
*app.js: expected_tabbar_implementation*
var tabGroup = Ti.UI.createTabGroup();
var win = Titanium.UI.createWindow({
backgroundColor : '#fff',
title : 'Test',
tabBarHidden : true
});
var tab = Ti.UI.createTab({
title : '',
window : win
});
tabGroup.addTab(tab);
tabGroup.open();
Attachments
File | Date | Size |
---|---|---|
actual_navigationbar_implementation.png | 2012-12-14T17:18:14.000+0000 | 42789 |
expected_tabbar_implementation.png | 2012-12-14T17:18:14.000+0000 | 43022 |
Tested and confirmed with 3.0.2 GA on iOS 6 Simulator.
Fixed in latest builds and using the refactored version (
Ti.UI.iOS.NavigationWindow
).