Hybrid View
-
6 Apr 2012 1:32 PM #1
Title Bar in NavigationView not truncating after 'back'
Title Bar in NavigationView not truncating after 'back'
Inside a NavigationView if I push a view with a long title:
The title sets correctly with truncation, but then inside that view I push a new view (a details page), and that title sets correctly.Code:this.getMyNavigationView().push({ xtype : 'viewWithLongTitle', title : 'This is a long title that will need to be truncated.' });
The problem is that when I click the 'back' button provided by the NavigationView my title is no longer truncated.
Thanks!
Brad
-
8 Apr 2012 6:07 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
I'm not using this using 2.0.1 RC with this code:
Screen Shot 2012-04-08 at 9.06.07 AM.pngCode:new Ext.navigation.View({ fullscreen : true, items : [ { title : 'Orig', items : [ { xtype : 'button', text : 'Push', handler : function(button) { var view = button.up('navigationview'); view.push({ title : 'Do not mind me, just a really load title', html : 'Long title' }); } } ] } ] });Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote