Changes between Initial Version and Version 2 of Ticket #8454


Ignore:
Timestamp:
Jan 20, 2009, 8:09:12 AM (13 years ago)
Author:
bill
Comment:

I tried the mail demo on FF3/mac and resizing vertically is working fine, even when the browser is set to the min-width. So please supply a test case or I'll have to close this as "worksforme". Thanks.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8454

    • Property Owner changed from wildbill to bill
  • Ticket #8454 – Description

    initial v2  
    1 This condition occurs when the top-most parent widget of a BorderConatiner is the size of the page. I assume that the calculations done are based on the fact that the parent may be in a div or a table, and not taking up the whole page.
     1This condition occurs when the top-most parent widget of a !BorderConatiner is the size of the page. I assume that the calculations done are based on the fact that the parent may be in a div or a table, and not taking up the whole page.
    22
    33While the whole-page situation does not fail; it does not update properly, and looks like it is checking for width change and not a height change.
     
    66
    77Here is the code I used in our app to over-ride this behavior:
    8 
     8{{{
    99dijit.layout._LayoutWidget.prototype._resize = dijit.layout._LayoutWidget.prototype.resize;
    1010dijit.layout._LayoutWidget.prototype.resize = function(changeSize, resultSize){
     
    1515        this._resize(changeSize, resultSize);
    1616}
     17}}}
    1718After this fix, the resize works very smoothly.
    1819
    19 I don't know the mechanism of the BorderContainer well enough to know if the above example is reasonable or not. I suggest possibly a property along the lines of: isWholePage
     20I don't know the mechanism of the !BorderContainer well enough to know if the above example is reasonable or not. I suggest possibly a property along the lines of: isWholePage