📄 alignpack.zul
字号:
<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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -