-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
<zk>
<window border="normal" title="hello">
<hbox width ="100%">
<hbox align="center" pack="start">
<button label="Click Me" />
</hbox>
<hbox align="center" pack="end">
<button label="Click Me" />
</hbox>
</hbox>
</window>
</zk>
Simple code, to be found on fiddle, that looks to have one button left and one right.
Unfortually that doesn't do the trick.
Someone else have an idea of getting one button left and one button right?
(this is simplified problem, I must have 2 menubars in it)
Oke sorry but already found it.
<zk>
<window border="normal" title="hello">
<hbox width ="100%">
<hbox align="center" pack="start">
<button label="Click Me" />
</hbox>
<hbox align="center" pack="end" hflex="1">
<button label="Click Me" />
</hbox>
</hbox>
</window>
</zk>
<zk>
<window border="normal" title="hello" apply="pkg$.TestComposer">
<hbox hflex="true" vflex="true">
<hbox hflex="true" vflex="true" align="center" pack="start">
<button label="Click Me" />
</hbox>
<hbox hflex="true" vflex="true" align="center" pack="end">
<button label="Click Me" />
</hbox>
</hbox>
</window>
</zk>
Asked: 2014-03-11 10:35:16 +0800
Seen: 59 times
Last updated: Mar 11 '14