-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I have a border layout component where the North region is collapsible. When I click on the North's title button to hide it the title is not being displayed anymore.
I have already tried the suggested workaround in this thread but it didn't work as I want since I need to keep displaying the title in the bar and not only as a tooltip text.
Any clues?
Thank you,
Gyo
hi, Please share how to use i zul page ?
i also need it, this my code http://forum.zkoss.org/question/105423/show-title-in-borderlayout-north/
thanks
Hi Neillee,, Worked like a charm!!! Thank you!!!!
Just one minor adjustment: How to keep the same style as the expanded title bar?
Thanks,
Gyo
The workaround can be changed slightly to keep displaying the title in the collapsed bar.
jq("@west,@north,@east,@south").each(function() {
var zLayout = zk.Widget.$(this);
if (zLayout.$n("cap")!=null){
var word = jq(zLayout.$n("cap")).text();
jq(zLayout.$n("colled")).append(word);
}
});
Asked: 2013-12-11 20:47:59 +0800
Seen: 43 times
Last updated: Jun 12 '17