Changes between Initial Version and Version 1 of Ticket #9588


Ignore:
Timestamp:
Jul 30, 2009, 7:18:07 AM (12 years ago)
Author:
bill
Comment:

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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9588

    • Property Owner set to bill
    • Property Status changed from new to assigned
    • Property Milestone changed from tbd to 1.4
    • Property Summary changed from Dialog should support resizing of child widget to Dialog: support resizing of child widget
  • Ticket #9588 – Description

    initial v1  
    1 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?
     1Consider 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?