[TIMOB-8613] iOS: window title bar doesn't show
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-07-09T04:11:30.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Release 2.0.2, Release 2.1.0, Sprint 2012-09 API |
Components | iOS |
Labels | SupportTeam, api, module_window, qe-testadded |
Reporter | Nikhil Sharma |
Assignee | Vishal Duggal |
Created | 2012-04-09T09:56:44.000+0000 |
Updated | 2012-07-20T14:11:56.000+0000 |
Description
The window title bar doesn't show.
Repro Steps
1. Run the below code in the app.js 2. You can see window without the title. [code] var tabGrp = Ti.UI.createTabGroup({}); var tab = Ti.UI.createTab({}); var win1 = Titanium.UI.createWindow({ backgroundColor:'#fff' }); var btn = Ti.UI.createButton({ title:'Click Me' }) btn.addEventListener('click',function(e){ var titleView = Ti.UI.createView({ }) var Lable = Ti.UI.createLabel({ text:'TEST', top:10 }) //This will not work //titleView.add(Lable); //win1.titleControl = titleView; //This will work win1.titleControl = Lable; }) win1.add(btn); tab.window = win1; tabGrp.addTab(tab); tabGrp.open(); [code]Attachments
File | Date | Size |
---|---|---|
Screen shot 2012-04-24 at 5.16.40 PM.png | 2012-04-25T10:17:33.000+0000 | 123317 |
Screen shot 2012-04-24 at 5.16.47 PM.png | 2012-04-25T10:17:33.000+0000 | 121271 |
Pull pending https://github.com/appcelerator/titanium_mobile/pull/1968
This is still happening: When you change the orientation, the abbreviated title still appears reduced, even if there is enough space to be displayed. Best, Mauro
Test Code
Pull pending https://github.com/appcelerator/titanium_mobile/pull/2107
Tested with 2.0.2.v20120505151714 on iPhone 4 5.0.1
Reopening to update labels