作者wxyy (装笑帏)
看板Ajax
标题[问题] ZK listbox 如何显示 scroll bar
时间Mon Dec 10 12:25:55 2012
底下这段
<window height="120px" border="normal">
<hbox height="100%">
<listbox height="120px"> <!-- 高度:120px 有 scroll bar -->
<listitem forEach="a, b, c, d, e, f, g" label="${each}"/>
</listbox>
<listbox height="100%"> <!-- 高度: 100% 没有 scroll bar -->
<listitem forEach="1, 2, 3, 4, 5, 6, 7" label="${each}" />
</listbox>
</hbox>
</window>
显示结果
http://ppt.cc/uYr1
我想用高度 100% 的 listbox, 要如何才能正确的显示 scroll bar ???
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 203.240.224.38