7 Dec 2012 3:18 AM #1
newbie question about cls and style configs property of Ext.Panel
I have a Ext.Panel with a cls configs property that I set with a value (a class that set a css z-index style)
Nevertheless inspecting firebug I cannot find the cls or style configs property neither the class or the style applied to the Panel neither a method that returns the class or style of the Ext.Panel.
Could you tell me how I can inspect the class or style property in firebug
The aim is to inspect the z-index style property of the Panel
Another question: normally cls and style are configs property that are set when building Ext.Panel. The question is : can we consider configs properties as properties ? I wonder this because when inspecting properties of Ext.Panel, I can see that they are displayed as properties
Thanks a lot for your answers
9 Dec 2012 8:17 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You need to find the top level element for the component. The cls will add the CSS class name and the style will add inline styles.
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.