📄 z35-panel-002.zul
字号:
<window>
<panel id="p1" title="Panel Component" border="normal" width="500px" height="150px">
<panelchildren>
1. Click "Change floatable" button and the panel should float.
<separator />
2. Click "Change movable" button and move the panel.(If the panel doesn't float, it shouldn't be able to move.)
<separator />
<button label="Change floatable">
<attribute name="onClick">
p1.floatable=!p1.floatable;
</attribute>
</button>
<button label="Change movable">
<attribute name="onClick">
p1.movable=!p1.movable;
</attribute>
</button>
<separator />
3. Click following buttons and it should work well.
</panelchildren>
</panel>
<button label="Change collapsible">
<attribute name="onClick">
p1.collapsible=!p1.collapsible;
</attribute>
</button>
<button label="Change minimizable">
<attribute name="onClick">
p1.minimizable=!p1.minimizable;
</attribute>
</button>
<button label="Change maximizable">
<attribute name="onClick">
p1.maximizable=!p1.maximizable;
</attribute>
</button>
<button label="Change closable">
<attribute name="onClick">
p1.closable=!p1.closable;
</attribute>
</button>
</window>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -