I have a requirement where the height of the wondow pane needs to be set up automatically based on the contents of the window pane. Is this currently supported by the Echo2 Window Pane component.
If not, any pointers on how a custom window pane can be implemented to fullfill my requirement.
This feature is present in
This feature is present in Echo3 and enabled by default, but regrettably is not available in Echo2.
Really? This feature is in
Really? This feature is in Echo3? How do you use it? Just not explicitly set the height of the WindowPane?
Yep, just set don't set the
Yep, just set don't set the height.
You can also auto-size SplitPanes in Echo3 by setting "autoPositioned" to true. It'll set the position based on the first child, e.g., if you want the bottom to be as compact as possible, use SplitPane.ORIENTATION_VERTICAL_BOTTOM_TOP.
Note that the children must be non-pane components for this all to work. For example, if the child of a WindowPane is a ContentPane, it will NOT work.
Most of my dialogs (i.e.
Most of my dialogs (i.e. WindowPanes) just use a Grid as the base layout thing that is added... I assume since that's not a ContentPane (I think), the auto-sizing should work well, right?
Better explanation here:
Better explanation here: http://echo.nextapp.com/site/node/5757