📄 b35-2086046.zul
字号:
<?page id="testZul" title=" New ZUL Title" cacheable="false"
language="xul/html" zscriptLanguage="Java"
contentType="text/html;charset=UTF-8"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit"?>
<zk xmlns="http://www.zkoss.org/2005/zul"
xmlns:h="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.zkoss.org/2005/zul/zul.xsd">
Testing Groupbox appearance when aligned with other boxes.
<vbox>
<label>1.Uncheck the checkbox next to "grape" (so it uses 2D Group
Box)</label>
<label>2.Resize the browser to a smaller size.</label>
<label>2.See if the groupbox is overlapped by hbox text. If so, its a
bug.</label>
</vbox>
<window title="Groupbox test" width="100%">
<groupbox id="gb3" width="100%">
<caption image="/img/inet.png" label="Testing Group Box"/>
<vbox>
<hbox>
Testing Complicated Groupbox
<groupbox id="gb" mold="3d" width="100%">
<caption image="/img/inet.png" label="fruits"/>
<radiogroup onCheck="fruit.value = self.selectedItem.label">
<radio label="Apple"/>
<radio label="Orange"/>
<radio label="Grape"/>
</radiogroup>
</groupbox>
<hbox>You have selected :<label id="fruit"/>
</hbox>
<checkbox label="Use 3d groupbox" checked="true"
onCheck='gb.mold=self.checked? "3d": "default"'/>
</hbox>
</vbox>
<vbox>
<grid>
<columns sizable="true">
<column label="Type"/>
<column label="Content"/>
</columns>
<rows>
<row>
<label value="File:"/>
<textbox width="98%"/>
</row>
<row>
<label value="Type:"/>
<hbox>
<listbox rows="1" mold="select">
<listitem label="Java Files,(*.java)"/>
<listitem label="All Files,(*.*)"/>
</listbox>
<button label="Browse..."/>
</hbox>
</row>
<row>
<label value="Options:"/>
<textbox rows="3" width="98%"/>
</row>
</rows>
</grid>
</vbox>
</groupbox>
</window>
</zk>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -