I have a problem with the main layout of my application which is an AbsoluteLayout.
The layout does not occupy 100% of the width anymore, also this was the case with version 7.0.5.
Now the layout occupies the minimum width.
I found the cause of this behaviour being the
AbsoluteLayoutWrapper
html elements containing my custom components.
Before, the wrapper had a width (being the available width in pixels). Now the width attribute is gone and the wrapper’s HTML code looks like this:
<div class="v-absolutelayout-wrapper v-absolutelayout-wrapper-cissFooterdefault" style="left: 0px; bottom: 0px;">
The AbsoluteLayout itself and the components added have both 100% width. Here is the code:
public class CissDesktopApplicationLayout extends AbsoluteLayout {
...
private void buildMainLayout() {
setImmediate(false);
setWidth("100%");
setHeight("100%");
header.setImmediate(false);
header.setWidth("100.0%");
header.setHeight(getHeaderHeight(), Unit.PIXELS);
addComponent(header, "top:0.0px;left:0.0px;");
horizontalSplitPanel = buildHorizontalSplitPanel();
addComponent(horizontalSplitPanel, "top:" + getHeaderHeight() + "px;bottom:" + getFooterHeight()
+ "px;left:0.0px;");
footer.setImmediate(false);
footer.setWidth("100.0%");
footer.setHeight(getFooterHeight(), Unit.PIXELS);
addComponent(footer, "bottom:0.0px;left:0.0px;");
}
Did I miss something or has the behaviour of the Layout changed?