-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Here is my main layout
<window id="windowOuterMain" width="100%" height="100%"
border="none" sclass="outerwin" ctrlKeys="#f12#f11#f10#f2#f9"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('com.product.webapp.main.MainVM')">
<include src="navbar.zul" />
<hlayout id="main" spacing="0">
<include id="sidebar" src="sidebar.zul" />
<vlayout spacing="0" hflex="1">
<include src="header.zul" />
<div id="screeensdiv"></div>
</vlayout>
</hlayout>
</window>
In the Div screensdiv, i am showing the screens when the user clicks on Menu in the side bar.
My First Problem, I cannot put borderlayout inside vlayout because it never shows. Second Problem, if some screen contains very long, then scroll bar within the window is not shown, but browser scroll bar is shown. How to avoid this browser scroll bar and visible the inner window scroll bar.
Hello Senthilchettyin
you can try to put contentStyle="overflow-x:auto;overflow-y:auto" inside window tag to control the scroll bars.
Asked: 2015-03-31 14:39:15 +0800
Seen: 47 times
Last updated: Apr 01 '15