1. #1
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710
    Vote Rating
    6
    Bucs is on a distinguished road

      0  

    Default How to style a List n 1.0RC?

    How to style a List n 1.0RC?


    I was able to do this quite easily in prior versions by including my own .x-list{} CSS class after the Sencha CSS class. Now that apparently does nothing. What am I missing here, how can I style the List items?

    Thanks

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,927
    Vote Rating
    636
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    The same way, just specify css. Open the Chrome debugger and look at the rule precedence.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710
    Vote Rating
    6
    Bucs is on a distinguished road

      0  

    Default


    My bad, good call. Guess the x-list-item is a new class. Thx @evant.

Similar Threads

  1. Apply Style to a line in a List
    By micho2 in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 12 Nov 2010, 4:26 AM
  2. Update list style on startup
    By steilpass in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 10 Nov 2010, 5:37 PM
  3. Broken in 1.0RC? Carousel with dynamic card content used to work until 1.0RC
    By mnjacobs in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 10 Nov 2010, 9:46 AM
  4. Style a list / nested list as groups
    By steilpass in forum Sencha Touch 1.x: Discussion
    Replies: 5
    Last Post: 3 Nov 2010, 2:10 AM
  5. Combo list style
    By Bucs in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 30 Mar 2009, 12:55 PM

Thread Participants: 1