Dijit.Dialog 1.4, setting size is limited to 600x400 no matter what size I set it.

Posted by John Evans on Stack Overflow See other posts from Stack Overflow or by John Evans
Published on 2010-04-07T02:58:17Z Indexed on 2010/04/07 3:03 UTC
Read the original article Hit count: 338

Filed under:
|
|
|

I'm trying to set the size of a dijit.Dialog, but it seems limited to 600x400, no matter what size I set it. I've copied the code from dojocampus and the dialog appear, but when i set the size larger, it only shows 600x400. Using firebug and selecting items inside the dialog, I see that they are larger than the dialog, but don't show correctly. I set it up to scroll, but the bottom of the scrollbar is out of view. In firebug, I've check the maxSize from _Widget and it is set to infinity. Here is my code to set the dialog.

    <div id="sized" dojoType="dijit.Dialog" title="My scrolling dialog">
        <div style="width: 580px; height: 600px; overflow: scroll;">

Any suggestions for sizing the dialog box larger?

© Stack Overflow or respective owner

Related posts about dojo

Related posts about dijit