View Full Version : Nop style on html text in tab panel

9 May 2011, 9:01 AM
When I set the html config on a panel that is contained in a tab panel the text I set does not have any style.

It looks like somehow my panel does not inherit any style info for text. I am not sure how that happened. When I look at the examples they all work. Any ideas?

My application is a little more complex so this is just a quick example:

new Ext.Viewport({
xtype: 'panel',
title: 'Test Style',
items: [{
xtype: 'tabpanel',
activeTab: 0,
items: [{
xtype: 'panel',
title: 'test',
html: 'testing style for html'

9 May 2011, 9:17 AM
Since the text you're specifying is via the 'html' attribute, it's up to you to supply style information. The various styles defined by ExtJs are strictly for ExtJs components.