First time here? Check out the FAQ!
Following code (thanks to @terrytornado) works on ZK 6.5 up to 7.0.1 But does not right align on 7.0.2 (or 7.0.3)
<zk> <window border="normal" title="Groupbox with toolbar" ><="" p="">
<!-- Works on 7.0.1 not on 7.0.3 -->
<groupbox mold="3d" width="400px">
<caption label="My label" >
<div align="right" style="float:right;">
<hbox pack="end" align="end">
<toolbar align="end" style="float:right; border-style:none">
<button image="/img/test.png"/>
</toolbar>
</hbox>
</div>
</caption>
</groupbox>
</window> </zk>
I have a fiddle @ link below for testing.. http://zkfiddle.org/sample/34p6ti1/22-Groupbox-with-toolbar
Hopefully solved... I added following style.. though whether this is a 'correct' solution.
<style>
.z-groupbox-3d>.z-groupbox-header .z-caption-content { width :100%}
</style>
Asked: 2015-03-02 19:52:25 +0800
Seen: 14 times
Last updated: Mar 02 '15