-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I would like to know if the caption position on 3d groupbox fo5 ZK 7 has changed.
On ZK 6.X, the position is on the right side of the title, like on the ZK demo, but in ZK 7 RC seems to be down of the groupbox title, like in a different row.
Here you can see a demo to test with ZK 6: http://www.zkfiddle.org/sample/2d2uort/6-z-groupbox-3d-zk7 .
Is it a feature or a bug?
Regards,
Vicente
Hi Vicente,
It is a feature. If you want the same look and feel in ZK7, you can try add custom style.
<caption style="float: right"/>
Hi again,
I've tryed to migrate to ZKEE 7.0.2 and it seems to have changed again how Groupbox works and fails showing properly.
It was working fine like this with 7.0.0 and 7.0.1, but the arrow appears now (with 7.0.2) in the groupbox bottom instead of the right side:
<style>
.z-groupbox-3d .open-false,
.z-groupbox-3d .open-true {
background: url("${url_base}images/arrow.png") no-repeat right 0;
height: 16px;
padding-right: 20px;
font-weight: bold;
}
.z-groupbox-3d div.open-false {
background-position: right -16px;
}
</style>
<groupbox id="myGroup" mold="3d" title="MyTitle" open="false" sclass="MyText">
<attribute name="onOpen"><![CDATA[
arrow.setSclass("open-" + self.isOpen());
]]></attribute>
<caption style="float:right;">
<div id="arrow" class="open-false" style="float:inherit;"></div>
</caption>
... more elements
</groupbox>
I'm not able to move it again to the right with CSS...
Hi, we change the DOM structure for caption component to fix the bug.
You can try specify CSS to the arrow div with position attribute. Refer to the zkfiddle sample.
Asked: 2013-11-05 10:08:51 +0800
Seen: 20 times
Last updated: Jul 03 '14
composite component help [closed]
EL in a forEach @command not working?
Different template for each grid row
Cardlayout animation is broken
Grid RowRender slow using 6.5.1 and sizable=true
setVisible(false), component will load or not
Decimalbox and doublebox value rounded on iPad
history management with page status