-
13 Nov 2012 12:12 PM #1
Tab elements not shown on fullscreen = true
Tab elements not shown on fullscreen = true
Hi,
in the newest Sencha 2.1 from 6.11.2012 when your panel has fullscreen true, the tab icon and name are not shown. it gets a custom style visibility:hidden.
-
13 Nov 2012 1:17 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
Can I get a simple testcase so I can understand or see if something is going wrong?
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.
-
14 Nov 2012 12:03 AM #3
i have my main panel like this:
als long as the homepanel is like this it is not shown in the tabbar:Code:Ext.define("Wickelplaetze.view.Main", { extend: 'Ext.tab.Panel', xtype: 'mainpanel', config: { tabBarPosition: 'bottom', //iconMask: true, items: [ { xtype: 'home', iconCls: 'home', title: 'Home' }, { xtype: 'mainsearch', iconCls: 'search', title: 'Suche' }, { xtype: 'indernaehe', title: 'In derNähe', iconCls: 'locate' }, { xtype: 'suggestloc', iconCls: 'add', title: 'Vorschlagen' } ] } });
except fullscreen is not set to trueCode:Ext.define("Wickelplaetze.view.Home", { extend: 'Ext.Panel', xtype: 'home', config: { //fullscreen: true, items: [ { xtype: 'toolbar', docked: 'top', title: 'Wickelplätze' }, { html: '<img src="resources/images/home-pic.jpg" border="0" />', styleHtmlContent: true, style: 'text-align: center; vertical-align: middle;' }, { html: '<img src="resources/images/sponsor-phillips.png" border="0" />', docked: 'bottom', style:'background: #17a8dc; text-align: right; padding: 1% 3% 1% 0;' } ] } });
-
14 Nov 2012 5:34 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
This is working for me (image won't load of course):
If you have fullscreen : true on the home panel then when an instance is created it will be added to Ext.Viewport, that's what the fullscreen config does.Code:Ext.define("Wickelplaetze.view.Main", { extend : 'Ext.tab.Panel', xtype : 'mainpanel', config : { tabBarPosition : 'bottom', items : [ { xtype : 'home', iconCls : 'home', title : 'Home' } ] } }); Ext.define("Wickelplaetze.view.Home", { extend : 'Ext.Panel', xtype : 'home', config : { items : [ { xtype : 'toolbar', docked : 'top', title : 'Wickelplätze' }, { html : '<img src="resources/images/home-pic.jpg" border="0" />', styleHtmlContent : true, style : 'text-align: center; vertical-align: middle;' }, { html : '<img src="resources/images/sponsor-phillips.png" border="0" />', docked : 'bottom', style : 'background: #17a8dc; text-align: right; padding: 1% 3% 1% 0;' } ] } });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.
-
14 Nov 2012 9:20 AM #5
ah got it. what a shame i missunderstood the use of fullscreen since 2010...
Thx
Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.

