Menu

#2471 listbox/grid hflex="min" does not work

5.0.5
closed-fixed
nobody
5
2011-02-10
2011-02-10
Henri Chen
No

Listbox/Grid shall be minimum sized in width but not.

test case
----
<zk>
<zscript>
String[] msgs = {
"ZK Ajax Framework",
"Server + Client Fusion is a good approach Server + Client Fusion is a good approach",
"I Love it!",
"Great Job",
"ZK Spreadsheet",
"The Only Solution of Java Web Excel",
"Awesome!",
"The best!",
};
</zscript>
<listbox hflex="min">
<listhead sizable="true">
<listheader label="Product" width="100px" hflex="min"/>
<listheader label="Description" width="100px" hflex="min"/>
<listheader label="Comment" hflex="min"/>
</listhead>
<listitem>
<listcell ><label value="${msgs[0]}"></label></listcell>
<listcell ><label value="${msgs[1]}"></label></listcell>
<listcell ><label value="${msgs[2]}"></label></listcell>
</listitem>
<listitem>
<listcell ><label value="${msgs[4]}"></label></listcell>
<listcell ><label value="${msgs[5]}"></label></listcell>
<listcell ><label value="${msgs[6]}"></label></listcell>
</listitem>
</listbox>
</zk>

Discussion

  • Henri Chen

    Henri Chen - 2011-02-10

    Fixed since Feb. 10, 2011.

     
  • Henri Chen

    Henri Chen - 2011-02-10
    • status: open --> closed-fixed
     

Log in to post a comment.