1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    580
    Vote Rating
    0
    dolittle is an unknown quantity at this point

      0  

    Default toolbar on FF and toolbar with yui css

    toolbar on FF and toolbar with yui css


    Hi

    1. When I`m testing the toolbar example from the api with FF, even locally, it takes allot of time for the menu to react after I load the page and even more for all the icons to appear.
    How can I solve this or how can I prevent the user clicking on the menu before it`s ready?

    2. I`m using ext toolbar with yui css reset-fonts-grids.css.
    Is there an ext alternative?
    I have to add css to make the text in the menu items align correctly:

    Code:
    .x-menu-list-item{
       text-align: left
    }
    Shouldn't it work without this or should it be added to the ext css originally?

    Thanks

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    There is no lag rendering the menu. You must have another issue in your environment/code. The yui css file is not relevant to run any of the Ext code. If you can resolve the issue, post a small sample that illustrates the problem.

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Posts
    580
    Vote Rating
    0
    dolittle is an unknown quantity at this point

      0  

    Default


    Just add this line:
    <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.2.0/build/reset-fonts-grids/reset-fonts-grids.css">

    to the top of the menu toolbar example and see the effect.

  4. #4
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    Look at that css. The 1st thing grid.css does is set text-align:center for the body. That doesn't make sense - why set a default rule that is completely non-standard?

  5. #5
    Sencha User
    Join Date
    Mar 2007
    Posts
    580
    Vote Rating
    0
    dolittle is an unknown quantity at this point

      0  

    Default


    That should explain it.

    I`ll try to figure out what cause the slow rendering on my system.

    Thanks for your help.

Thread Participants: 1