1. #1
    Sencha User
    Join Date
    Jul 2010
    Posts
    303
    Vote Rating
    0
    flamant is on a distinguished road

      0  

    Default newbie question about cls and style configs property of Ext.Panel

    newbie question about cls and style configs property of Ext.Panel


    Hi,

    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

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Vote Rating
    827
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1