Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jun 2007
    Posts
    15
    Vote Rating
    0
    kmiyashiro is on a distinguished road

      0  

    Default [FIXED]Temporary scrollbars affect width of resized container

    [FIXED]Temporary scrollbars affect width of resized container


    I have a viewport with layout: fit, an hbox panel with two panels inside of it. During resizing the window smaller, horizontal and vertical scrollbars appear. Children resize themselves, but after letting go of the window the scrollbars disappear but the children are sized to leave space for it on the side.

    Steps:

    1. Resize browser window smaller, vertically and horizontally.
    2. Let go of the browser window normally, before the scrollbars disappear
    3. Scrollbars disappear, but children are not the full width of the browser window, there is space where the scrollbar used to be on the right.

    Below is some sample code with different titles and no margins, but you should still see the bug. Attached are screenshots with Firefox 3.6.13, OS X 10.6. Does not happen in Chrome.

    Code:
    Ext.onReady(function() {
        var viewport = new Ext.container.Viewport({
            layout: 'fit',
            items: [{
                xtype: 'panel',
                title: 'HBox',
                layout: 'hbox',
    
                items: [{
                    title: 'Stuff',
                    flex: 1,
                    items: [{
                        title: 'Default'
                    },
                    {
                        title: 'Everything but images'
                    }]
                },
                {
                    xtype: 'splitter',
                    height: 500
                },
                {
                    title: 'Other stuff',
                    flex: 1,
                    items: [{
                        title: 'Cookies'
                    }]
                }]
            }]
        });
    });
    Initial:


    After resizing the browser smaller:

  2. #2
    Sencha User
    Join Date
    Jun 2007
    Posts
    15
    Vote Rating
    0
    kmiyashiro is on a distinguished road

      0  

    Default


    Can anyone confirm this bug, or is it just my machine?

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,828
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    I can confirm this, seems it only happens on FF.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    I've committed a fix. The code to get viewport width had been changed (by me) incorrectly while looking at another layout issue. It's been reverted to how it was before.

Similar Threads

  1. Replies: 2
    Last Post: 25 Aug 2009, 1:57 PM
  2. Grid doesn't show scrollbars when columns resized and NO data
    By wgpubs in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 5 Aug 2009, 10:13 PM
  3. Replies: 1
    Last Post: 27 Oct 2008, 8:43 AM
  4. [SOLVED] 100% width Grid is not resized when browser is
    By skaue in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 10 Sep 2008, 4:44 AM
  5. Replies: 11
    Last Post: 19 Aug 2008, 6:26 AM

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi