Results 1 to 3 of 3

Thread: Bug: textfield in Toolbar

  1. #1
    Ext JS Premium Member
    Join Date
    Feb 2011
    Posts
    52
    Vote Rating
    2
      0  

    Default Bug: textfield in Toolbar

    Hi,

    trying to render 2 textfields in a toolbar:

    Code:
    Ext.onReady(function() {
                var panel = Ext.create('Ext.panel.Panel', {
                            width : 400,
                            height : 300,
                            title : 'Panel',
                            dockedItems : [{
                                        xtype : 'toolbar',
                                        dock : 'top',
                                        items : [{
                                                    xtype : 'textfield'
                                                }, {
                                                    xtype : 'textfield'
                                                }]
                                    }],
                            renderTo : Ext.getBody()
                        });
            });
    Result:

    ScreenHunter_03 Mar. 14 10.00.jpg

    I can reproduce this bug also on (empty!) GridPanels. Is there any solution or workaround?

  2. #2
    Ext JS Premium Member
    Join Date
    May 2009
    Posts
    41
    Vote Rating
    0
      0  

    Default

    Hello,

    Set a width for each textfield, that fixes it.

    Hope it helps

  3. #3
    Ext JS Premium Member
    Join Date
    Feb 2011
    Posts
    52
    Vote Rating
    2
      0  

    Default

    works, thanks a lot

Posting Permissions

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