-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I want set a fixed "maximized" height for a panel in a portallayout. If I maximize a panel it always takes complete height of the portallayout (maximizedMode="whole"). But I want it only to "expand" by 500px. How to i solve this?
I tried to set the height on the maximize Event, but this is not working, any idea?
thanks
Portallayout supports onPortalMove
which could be used to handle panel's movement in it.
The Panel's onMove is enable when movable="true" floatable="true"
, onMaximize is triggered by maximize icon, and onMinimize is triggered by minimize icon as the link.
And it can be given a fixed "maximized" height for a panel in a portallayout by CSS like the sample, but it's not flexible if the panel's height change dynamic.
Ok, i got another problem.
http://zkfiddle.org/sample/dt3asj/2-fixed-maximized-height-panel
If i maximize one panel (AAA) and then adding a new panel via testButton, there is an error?
http://www.zkoss.org/zkdemo/layout/business_portal here you can recreate it too. Just maximize and try to add a new widget.
IngoB ( 2014-05-27 15:29:18 +0800 )editI found it's a bug and created an issue here: http://tracker.zkoss.org/browse/ZK-2310. The issue contains a temporary workaround, if it still has problems, please let us know.
RaymondChao ( 2014-05-28 08:10:19 +0800 )editAsked: 2014-05-26 12:38:47 +0800
Seen: 17 times
Last updated: May 27 '14
Using a template.. but I want to load the first page dynamically? [closed]
Problem in vertical aligment on hlayout when setting vflex or height
Change the background of the TreeRow
Placeholder with phonemasking in IE11 Browser not working
zFlex performance in client side
Another strange? behavior: onMove&onMinimize is not working, but onMaximize is triggered on min/maximize (Panel).
IngoB ( 2014-05-26 13:05:33 +0800 )edit