Login Register

I can't resize a borderContainer which has a iframe tag inside a ContentPane

Below source code was worked in dojo1.1.1, but cannot resize center region in dojo1.2.

What should I do? Should I set iframe height according to contentPane?

Vertical panels only with splitters
       
        <div dojoType="dijit.layout.BorderContainer" design="sidebar"
                style="border: 0px solid black; width: 100%; height: 300px; padding: 0px;">

                <div dojoType="dijit.layout.ContentPane" region="top" style="height: 98%;border: 0px; padding: 0px" splitter="true">
                        top bar
                        wefewfewfewf
                        ewfewfwefewfwef
                        ewfewfwef
                </div>
                <div dojoType="dijit.layout.ContentPane" region="center" style="border: 0px; padding: 0px;">
                        <iframe id="infoIframe" name="infoIframe" style="width:100%; height:100%" frameborder="0" scrolling=no>
                        </iframe>
                </div>
        </div>