Dialog: support resizing of child widget
Consider a preferences dialog which is a dijit.Dialog with a single BorderContainer widget in its contents. The BorderContainer must have a size, and the Dialog may resize itself to fit in the viewport, leaving the Dialog contents with a scrollbar. It should be possible to have the dialog resize the single child widget in this situation. I think this is related to the doLayout feature from ContentPane?
Change History (3)
Description: |
modified (diff)
|
Milestone: |
tbd →
1.4
|
Owner: |
set to bill
|
Status: |
new →
assigned
|
Summary: |
Dialog should support resizing of child widget →
Dialog: support resizing of child widget
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
It is related to doLayout, although a little different.
Normally the dialog's size is determined by it's contents; that's why doLayout is false. But in the special case where the dialog reduces the size of it's contents so the dialog itself fits in the viewport, it makes sense to do the resize of the single child widget like ContentPane does.
Actually this can already be tested with test_Dialog.html, with the TabContainer example.