Looks like we can't reproduce the issue or there's a problem in the test case provided.
-
Sencha User
Title Bar in NavigationView not truncating after 'back'
Inside a NavigationView if I push a view with a long title:
Code:
this.getMyNavigationView().push({
xtype : 'viewWithLongTitle',
title : 'This is a long title that will need to be truncated.'
});
The title sets correctly with truncation, but then inside that view I push a new view (a details page), and that title sets correctly.
The problem is that when I click the 'back' button provided by the NavigationView my title is no longer truncated.
Thanks!
Brad
-
I'm not using this using 2.0.1 RC with this code:
Code:
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'
});
}
}
]
}
]
});
Screen Shot 2012-04-08 at 9.06.07 AM.png