Forum /
Ext JS Community Forums 3.x /
Ext 3.x: Help & Discussion /
Simple question about panel opacity 0.4 background
Simple question about panel opacity 0.4 background
I am trying to set a panel with semi transparent background, what do I have to do for the children of the component to NOT inherit the style? thanks in advance...
{
xtype: 'panel',
region: 'center',
layout: 'hbox',
bodyStyle: {background :'#cccccc', opacity: '0.4',margin: '10 10 10 10'},
items:[
{
xtype: 'textfield',
text: 'any text',
bodyStyle: { opacity: '1.0'}
},{
xtype: 'button',
text: 'any button'
}
]
}
Similar Threads
By altamirador in forum Ext Designer: Help & Discussion
Replies: 1
Last Post: 27 May 2010, 5:16 AM
By HaukeG in forum Ext GWT: Discussion
Replies: 1
Last Post: 6 Jun 2009, 8:45 AM
By razor in forum Ext 2.x: Help & Discussion
Replies: 1
Last Post: 25 Feb 2008, 9:29 AM
By zapatista in forum Ext 2.x: Help & Discussion
Replies: 4
Last Post: 25 Feb 2008, 2:48 AM
By MtAiryEd in forum Ext 2.x: Help & Discussion
Replies: 10
Last Post: 18 Jan 2008, 8:43 AM
Tags for this Thread
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us