-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
I think it would be nice if when a component of the BorderLayout, such as the west, to be collapsed keep your title visible, written in the vertical of the collapsed component. Without seeing the title is not known what the functionality is hidden in that component.
best regards,
Helena
you can post a feature request on zk1 sourceforge .
http://sourceforge.net/tracker/?group_id=152762&atid=785194
Btw , for this case , I have a simple workaround if you use zk 5.0.2 or later version.
<script><![CDATA[ jq("@west,@north,@east,@south").each(function(){ var zLayout = zk.Widget.$(this); if(zLayout.$n("cap")!=null){ var word = jq(zLayout.$n("cap")).text(); zLayout.$n("colled").title = word ; } }); ]]></script>
This is how it works. you can test it on sandbox .
http://www.zkoss.org/zksandbox/userguide/#l1
http://www.screencast.com/users/TonyQ/folders/Jing/media/e7f63c32-1c8a-4b01-bc5d-914fc78ad6a4
Asked: 2010-12-02 13:37:51 +0800
Seen: 669 times
Last updated: Dec 02 '10