0

BorderLayout Titles Collapse

asked 2010-12-02 13:37:51 +0800

hbarden gravatar image hbarden
15

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

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2010-12-02 19:17:04 +0800

TonyQ gravatar image TonyQ
642
https://www.masterbranch....

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

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-12-02 13:37:51 +0800

Seen: 669 times

Last updated: Dec 02 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More