-
10 Jan 2012 2:43 AM #1
[ST2 PR3] navigation view with useTitleForBackButtonText true
[ST2 PR3] navigation view with useTitleForBackButtonText true
REQUIRED INFORMATION
Ext version tested:- Sencha Touch 2
Browser versions tested against:- Google Chrome 16
Description:- In the condition that the config useTitleForBackButtonText is true,
when new cards keeps to be pushed into navigation view, then another back button is created.
The result that was expected:- just one back button
The result that occurs instead:- it created a number of button whenever the panel pushed into the navigation view
Test Case:
Code:Ext.application({ name: 'Joy', launch: function(){ var container = Ext.create('Ext.NavigationView', { fullscreen: true, useTitleForBackButtonText: true, //defaultBackButtonText: 'back', items:[ { xtype: 'tabpanel', docked: 'bottom', tabBar: { activeTab: 0, docked: 'bottom' }, items: [{ title: 'Home', iconCls: 'home' }, { title: 'Home1', iconCls: 'bookmarks' } ], listeners: { activeitemchange : function(tabPanel, newTab){ newCard = new Ext.Panel({ title: 'hihi', html : 'hi' }); container.push(newCard); } } } ] }); } });
HELPFUL INFORMATION
Screenshot or Video:
-
10 Jan 2012 9:52 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
Thank you for the report.
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.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-1362
in
2.0.


Reply With Quote