Changes between Initial Version and Version 1 of Ticket #12599


Ignore:
Timestamp:
Apr 12, 2011, 6:52:33 PM (9 years ago)
Author:
bill
Comment:

Well I think the issue is that TableContainer is calling layout() on it's children, rather than calling resize(). Here's the code in TableContainer:

// Refresh the layout of any child widgets, allowing them to resize
// to their new parent.
dojo.forEach(children, function(child){
	if(typeof child.layout == "function") {
		child.layout();
	}
});

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12599

    • Property Owner set to Shane O'Sullivan
    • Property Component changed from Dijit to DojoX Layout
    • Property Summary changed from dijit.Editor resize/layout bug to dijit.Editor in dojox.layout.TableContainer resize/layout bug
  • Ticket #12599 – Description

    initial v1  
    1 When a dijit.Editor is placed in a dojox.layout.TableContainer,
     1When a dijit.Editor is placed in a dojox.layout.!TableContainer,
    22an exception is raised, because the editor's layout method expects
    33a "_contentBox" attribute to be set on the instance, but in this case
    44it is not (see attached test case).
    55
    6 The Editor seems to assume that the layout widget will call its resize method and pass in an argument; the TableContainer calls
     6The Editor seems to assume that the layout widget will call its resize method and pass in an argument; the !TableContainer calls
    77resize without passing in any arguments.
    88