Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium Member
    Join Date
    Nov 2010
    Posts
    31
    Vote Rating
    4
    Alexey.Solonets is on a distinguished road

      0  

    Default Why all tabs are bold?

    Why all tabs are bold?


    Hi! I realized just now what i didn't like in the ExtJs' 4 TabPanel: all tabs are bold regardless of are they active or not. I hope it's a bug.
    ext-all-access-debug.css (line 7733)
    Code:
    /* line 50, ../themes/stylesheets/ext4/default/widgets/_tab.scss */
      .x-tab button {
        background: none;
        border: 0;
        padding: 0;
        margin: 0;
        -webkit-appearance: none;
        font-size: 14px;
        font-weight: bold;
        font-family: tahoma, arial, verdana, sans-serif;
        color: white;
        outline: 0 none;
        overflow-x: visible; }
    I think you should have something like this:
    Code:
    .x-tab-active button {
        font-weight: bold;
    }

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,169
    Vote Rating
    674
    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


    It's intentional. If you don't like it, you're certainly free to change it, it's just a variable in the /variables/_tabs.scss file.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1

Tags for this Thread