Changes between Version 4 and Version 6 of Ticket #3450


Ignore:
Timestamp:
Nov 21, 2007, 11:28:15 PM (13 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3450

    • Property Priority changed from normal to high
    • Property Milestone changed from 1.0 to 1.1
    • Property Summary changed from StackContainer: remove doLayout flag to StackContainer/TabContainer: support non-fixed sized
  • Ticket #3450 – Description

    v4 v6  
     1The doLayout flag from 0.4 days is broken, and needs to be fixed...
     2
    13StackContainer has a doLayout flag that you use to make the height of each pane equal.   Example !#1:
    24{{{
     
    1113Example !#2:
    1214{{{
    13 <div dojoType="dijit.layout.StackContainer" >
     15<div dojoType="dijit.layout.StackContainer" doLayout=false>
    1416   <div dojoType=...> short content </div>
    1517   <div dojoType=...> long content </div>
     
    1820When the above widget is displayed, it will change height depending on which child is being shown.  All it basically does is show one div and hide the others.
    1921
    20 Seems like we could detect if the user wanted us to adjust heights by whether or not height was set explicitly on the StackContainer widget.  The problem is that the height may be set explicitly, but indirectly, via CSS:
     22As a bonus, maybe we could detect if the user wanted layout automatically, rather than needing a doLayout flag.  Seems like we could detect if the user wanted us to adjust heights by whether or not height was set explicitly on the StackContainer widget.  The problem is that the height may be set explicitly, but indirectly, via CSS:
    2123
    2224{{{