Sub-widgets won't render (will have 0 height) in Dojo
问题 Have a look at this simple fiddle: http://jsfiddle.net/mercmobily/y4uG2/10/ Basically I declare a Widget, and start adding away sub-widgets. At one point, I have the sub-widget "section" which is a templated widget with a tab container and sub-tabs. The main widget has: '<div data-dojo-type="Section" data-dojo-props="title: \'Sub Widget\'" data-dojo-attach-point="section"></div>' + And that "section" widget has: templateString: '' + ' <div>' + ' <div class="subWidget" data-dojo-type="dijit