Results 1 to 3 of 3

Thread: Checkbox alignment is not correct

  1. #1
    Ext User
    Join Date
    Jun 2008
    Posts
    28
    Vote Rating
    0
      0  

    Default 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 Attached Images

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

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •