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 User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,984
    Vote Rating
    933
      0  

    Default

    As always, post your code.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  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
  •