1. #1
    Sencha User
    Join Date
    Feb 2010
    Posts
    96
    Vote Rating
    0
    taxidriver is on a distinguished road

      0  

    Exclamation Apply Custom CSS

    Apply Custom CSS


    Hello guys!
    I was wondering if i could have 2 TabPanels with different css styles in the same application.
    I 've created a custom css class but the result is that both inherit the rules of this class and not only the one that has been forced to apply them.
    I have applied the custom css class to one of the toolbars with the config option:
    cls: 'myCssClass'

    Any idea?

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Is the second tabpanel nested within the first tabpanel?

    In that case the cls of the second tabpanel will need to undo all css changes from the first tabpanel cls.

  3. #3
    Sencha User
    Join Date
    Feb 2010
    Posts
    96
    Vote Rating
    0
    taxidriver is on a distinguished road

      0  

    Default


    Hello Condor,
    Yes, the second tabpanel is nested within the first tabpanel.
    Your suggestion was helpful.
    After overriding (writing custom css rules to my custom css class) each css action of the first tabpanel ,finally I came to the desired result.

    Thank you very much!

Similar Threads

  1. Why another tabPanel_Second is to apply same CSS ??
    By yh800701 in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 9 Jun 2010, 3:42 AM
  2. How apply CSS to TabItem
    By rameshr in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 27 Nov 2009, 8:44 AM
  3. how to apply two different css for two different tabs
    By rameshr in forum Ext GWT: Discussion
    Replies: 3
    Last Post: 18 Nov 2009, 7:44 AM
  4. How can i apply CSS
    By Selvam packiam in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 12 Sep 2008, 5:02 AM

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar