0

wrong column width with hflex combined with rows attribute in firefox

asked 2012-04-13 15:54:36 +0800

myzkdemo gravatar image myzkdemo
154 3

Hi All,

I' m using the hflex attribut combined with the rows attribute to define the column width in a listbox. In IE it works correct but in firefox only the header has the correct width.

ZK: 6.00
FF: 11.0

Please try this example in IE and FF:

<window id="w" width="300px" title="Test" border="normal">
  <zk>
    <listbox width="250px" rows="4">
        <listhead>
            <listheader label="Name" sort="auto" hflex="1"/>
            <listheader label="Gender" sort="auto" hflex="2"/>
        </listhead>
        <listitem>
            <listcell label="Mary"/>
            <listcell label="FEMALE"/>
        </listitem>
        <listitem>
            <listcell label="John"/>
            <listcell label="MALE"/>
        </listitem>
        <listitem>
            <listcell label="Jane"/>
            <listcell label="FEMALE"/>
        </listitem>
        <listitem>
            <listcell label="Henry"/>
            <listcell label="MALE"/>
        </listitem>
        <listitem>
            <listcell label="Michelle"/>
            <listcell label="FEMALE"/>
        </listitem>
    </listbox>
</zk>
</window>


regards,
Gunter

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2012-04-13 22:18:32 +0800

Matze2 gravatar image Matze2
773 7

updated 2012-04-13 22:18:58 +0800

Some of the issues with Firefox 10/11 are already fixed in the latest freshly version. You can give it a try.
But there is still one issue open (ZK-1043).

link publish delete flag offensive edit

answered 2012-04-16 14:33:13 +0800

myzkdemo gravatar image myzkdemo
154 3

Hi Matze2,

thanks for the info.

regards,
Gunter

link publish delete flag offensive edit

answered 2012-04-16 15:10:03 +0800

Matze2 gravatar image Matze2
773 7

Today's freshly version fixed all my issues with hflex/span listbox columns and FF10/11.

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: 2012-04-13 15:54:36 +0800

Seen: 172 times

Last updated: Apr 16 '12

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