alignpack.zul
来自「ZK是一个Ajax Java Web框架」· ZUL 代码 · 共 58 行
ZUL
58 行
<zk>
PACK AND ALIGN:
<style>
div.hbox{
border-color: red;
border-width: 1px;
border: solid;
}
td.hbox{
border-color: blue;
border-width: 1px;
border: solid;
}
</style>
<hbox sclass="b" id="hb" pack="start" align="start" height ="90px" width="90px">
<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>
<vbox id="vb" pack="start" align="start" height ="90px" width="90px">
<textbox height="30px" width="30px"/>
</vbox>
PACK:
<radiogroup>
<attribute name="onCheck">
vb.setPack(self.selectedItem.label);
</attribute>
<radio checked="true" label="start"/>
<radio label="center"/>
<radio label="end"/>
</radiogroup>
ALIGN:
<radiogroup>
<attribute name="onCheck">
vb.setAlign(self.selectedItem.label);
</attribute>
<radio checked="true" label="start"/>
<radio label="center"/>
<radio label="end"/>
</radiogroup>
</zk>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?