Results 1 to 2 of 2

Thread: Bug with radiobutton layout?

  1. #1
    Sencha User
    Join Date
    May 2010
    Location
    Belgium
    Posts
    216
    Answers
    4

    Default Bug with radiobutton layout?

    Hello, is there a bug with this layout?

    Code:
    {
                        xtype: 'radiogroup',
                        fieldLabel: 'Type',
                        columns: 2,
                        items: [{
                            boxLabel: 'Min',
                            name: 'type',
                            inputValue: 'MINIMUM',
                            checked: true
                        }, {
                            boxLabel: 'Max',
                            name: 'type',
                            inputValue: 'MAXIMUM'
                        }]
                    }
    rb.JPG

    As you can see Max is put under the radion button. It's the same with all radio button I create.
    Is there a way to align it?

    Thanks

  2. #2
    Sencha Premium User
    Join Date
    Jul 2014
    Posts
    269
    Answers
    15

    Default

    Try with 'layout:'auto''

    PHP Code:
    {
                        
    xtype'radiogroup',
                        
    fieldLabel'Type',
                        
                        
    layout:'auto',
                        
                        
    columns2,
                            
    items: [{
                                
    boxLabel'Min',
                                
    name'type',
                                
    inputValue'MINIMUM',
                                
    checkedtrue
                            
    }, {
                                
    boxLabel'Max',
                                
    name'type',
                                
    inputValue'MAXIMUM'
                            
    }]
                        } 

Posting Permissions

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