?? z30-boxsplitter-0008.zul
字號:
<zk xmlns:n="http://www.zkoss.org/2005/zk/native">
<n:p>When you choose each radio button, the textbox inside the hbox is located properly.</n:p>
<n:p><n:strong>PACK: </n:strong>It means horizontal position.</n:p>
<n:p><n:strong>ALIGN: </n:strong>It means vertical position.</n:p>
<window border="normal" height="500px" width="500px">
<hbox sclass="b" id="hb" pack="start" align="start"
height="400px" width="100%">
<textbox height="30px" width="30px" />
<splitter />
<textbox height="30px" width="30px" />
</hbox>
PACK:
<radiogroup>
<attribute name="onCheck">
hb.setPack(self.selectedItem.label);
</attribute>
<radio checked="true" label="start" />
<radio label="center" />
<radio label="end" />
</radiogroup>
ALIGN:
<radiogroup>
<attribute name="onCheck">
hb.setAlign(self.selectedItem.label);
</attribute>
<radio checked="true" label="start" />
<radio label="center" />
<radio label="end" />
</radiogroup>
</window>
</zk>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -