Changes between Version 3 and Version 4 of Ticket #3450


Ignore:
Timestamp:
Oct 8, 2007, 5:05:52 PM (13 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3450 – Description

    v3 v4  
    11StackContainer has a doLayout flag that you use to make the height of each pane equal.   Example !#1:
    22{{{
    3 <div dojoType="dijit.layout.StackContainer" style="height: 300px;" doLayout=true>
     3<div dojoType="dijit.layout.StackContainer" style="height: 300px;"
     4                doLayout=true>
    45   <div dojoType=...> short content </div>
    56   <div dojoType=...> long content </div>
     
    1516</div>
    1617}}}
    17 When the above widget is displayed, regardless of which child is being shown, it will change height depending on which child is being shown.  All it basically does is show one div and hide the others.
     18When 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.
    1819
    19 Seems like we could detect if the user wanted us to adjust heights by whether or not height was set explicitly on the StackContainer node.  The problem is that the height may be set explicitly, but indirectly, via CSS:
     20Seems 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:
    2021
    2122{{{