I'm having an issue to set the height of portlets within a portallayout programmatically. Resizing them with mouse input works perfectly.
I'm using a PortalLayout with the following initial settings:
	Suppose I'm creating a single-column layout and add 2 portlets to it:
- When not setting a height at all, each portlet takes 50% of the total column height
- But I want to set a height, so that the first one can take 30% of the height, and the second 70%. Unfortunately, when doing so, each portlet still takes up 50% of the height, but the second one has a scrollbar, as it can't the portlet in the available area.
So, what am I doing wrong and how can I get the portlet heights correctly?
Thanks,
Steven
SmartClient Version: SC_SNAPSHOT-2012-01-11_v8.3d/Pro Deployment (built 2012-01-11)
					I'm using a PortalLayout with the following initial settings:
Code:
	
	   setShowColumnMenus(false);
   setCanResizePortlets(true);
   setColumnBorder("none");
   setPreventColumnUnderflow(true);
   setPreventRowUnderflow(true);
   setHeight100();
   setColumnOverflow(Overflow.HIDDEN);
   setCanShrinkColumnWidths(true);
   setOverflow(Overflow.HIDDEN);
        
   setCanAcceptDrop(allowDragAndDrop);
- When not setting a height at all, each portlet takes 50% of the total column height
- But I want to set a height, so that the first one can take 30% of the height, and the second 70%. Unfortunately, when doing so, each portlet still takes up 50% of the height, but the second one has a scrollbar, as it can't the portlet in the available area.
So, what am I doing wrong and how can I get the portlet heights correctly?
Thanks,
Steven
SmartClient Version: SC_SNAPSHOT-2012-01-11_v8.3d/Pro Deployment (built 2012-01-11)
