1. #1
    Ext User
    Join Date
    Jun 2008
    Posts
    28
    Vote Rating
    0
    morange is on a distinguished road

      0  

    Default Checkbox alignment is not correct

    Checkbox alignment is not correct


    Hai

    i am new to extjs

    i create a menu with checkbox items.
    The items are dynamic and it is displayed properly in the menu
    the problem is alignment of the checkbox infront of the menu item is not proper.
    The menu is inserted into a grid toolbar.

    i am attach the screen shots of the menu





    Please help me to solve this problem.
    Attached Images

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


    As always, post your code.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext User
    Join Date
    Jun 2008
    Posts
    28
    Vote Rating
    0
    morange is on a distinguished road

      0  

    Default


    Code:
    menu   :    new Ext.menu.Menu({
    items   :    [
                      {
                          text                 :    'Test1',
                          checked           :    true,
                          checkHandler    :    ''
                     },
                     {
                         text                 :    'Test2',
                         checked           :    false,
                         checkHandler    :    ''
                    }
                ]
    })

Thread Participants: 1