Results 1 to 2 of 2

Thread: Toolbar with tbfill component

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default Toolbar with tbfill component

    Hi,


    Ext version tested:

    • Ext 3.2.0 rev ____



    Adapter used:

    • ext



    css used:

    • only default ext-all.css



    Browser versions tested against:

    • FF3 (firebug 1.7.3 installed)



    Operating System:

    • Win7




    I'm facing some problems when I use a tbfill component in a Ext.Toolbar with the reorderer plugin.

    Here's an example that proves what happens:

    Code:
    Ext.onReady(function() {
    
        var reorderer = new Ext.ux.ToolbarReorderer();        
        var toolbar = new Ext.Toolbar({
                renderTo: Ext.getBody(),
                items  : [
                {
                    text: 'Button1',
                    reorderable : false
                },
                {
                    text: 'Button2',
                    reorderable : true
                },
                '->', 
                {
                    text: 'Button3',
                    reorderable : false
                },
                ],
                plugins: [reorderer]
        });
    
        new Ext.Panel({
            renderTo: 'docbody',
            tbar    : toolbar,
            border  : true,
            width   : 600
        });
    If you try to move the 2nd button, you'll receive a lot of errors such as: "item.getEl() is undefined".

    This is caused by the updateButtonXCache() function in the Ext.ux.ToolbarReorderer.

    Any idea if I'm doing something wrong here ?

    Thank you !

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,388
    Vote Rating
    499
      0  

    Default

    Thank you for your report!

    This has been verified as a bug. Please using the following ID for tracking: EXTJSIII-40

    Regards,
    Scott.

Tags for this Thread

Posting Permissions

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