1. #1
    Sencha User edykstra's Avatar
    Join Date
    Feb 2009
    Posts
    98
    Vote Rating
    2
    edykstra is on a distinguished road

      0  

    Default DatePicker in Border Layout causes expand bar to stay visible.

    Hello,

    This issue started when we upgraded from ExtJS 4.0.7a to 4.1.0-RC3.

    I have a border layout and in the East Region I have a number of components.

    The East Region starts collapsed. When I expand it, the vertical bar I clicked on to expand it is still there. (See attached image)

    When I comment out the DatePicker, the vertical bar I click to expand it disappears as expected.

    Here is the code to define the DatePicker:

    Code:
    
    
    Code:
           this.datePicker = Ext.create('Ext.picker.Date', {
                anchor:                 '100%',
                itemId:                 'datePicker',
                listeners:               {
                    select:              function(datePicker, date, options) {
                        this.fireEvent('dateChanged', date);
                    },
                    scope:               this
                },
                margin:                 '5 5 5 5',
                value:                   new Date()       
            });


    Anyone know why the vertical bar for the collapsed East region remains when it is expanded?

    Thanks!

    Here is the bar I expect to be hidden when the region is expanded.

    DatePicker_Included.png


    All I did here, was comment out the DatePicker from the items.

    DatePicker_Removed.png
    Last edited by edykstra; 17 Apr 2012 at 1:02 PM. Reason: Formatting

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,251
    Vote Rating
    485
    scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute

      0  

    Default

    Can you provide a small working model of your layout so we can review the problem?

    Regards,
    Scott.

Thread Participants: 1

Tags for this Thread