[Laszlo-user] Tabs in multiple rows
acec acec
tomcatacec at yahoo.ca
Thu Mar 6 11:52:36 PST 2008
Hi,
I try to layout tabs in multiple rows, I found
http://forum.openlaszlo.org/showthread.php?t=747
I create one file - mytabs.lzx:
<library>
<class name="mytab" extends="tab">
<method name="setSelected" args="s">
<![CDATA[
if (s) {
setAttribute('tabstate', 4);
} else {
setAttribute('tabstate', 2);
}
super.setSelected(s);
]]>
</method>
</class>
<class name="multirowtabsbar" extends="tabsbar"
layout="class: wrappinglayout; axis:'x'; yspacing:-5"
width="${canvas.width}" />
</library>
=======================================
In my application, I declared tabs like:
<tabs tabclass="mytab" barclass="multirowtabsbar"
The initial screen is perfect, but when I selected the
tab in second row, which will be moved into first row
and overlap others.
Do you have any suggestion?
Thanks in advance.
acec
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca
More information about the Laszlo-user
mailing list