-
Bug
-
Resolution: Fixed
-
Normal
-
5.0.8
-
None
Posted by smigol,
The column header for the hflex calculated incorrectly and it is not aligned with row datas.
Only happened when scroll bar showed.
<zk> <zscript> <![CDATA[ List items = new ArrayList(); for (int i = 0; i < 100; i++) { items.add(i); } ]]> </zscript> <listbox id="listbox" vflex="true" nonselectableTags="" mold="paging" pagingPosition="bottom" pageSize="25"> <listhead> <listheader label="field-1" width="40px" align="center" valign="top"/> <listheader label="field-2" width="84px" align="center" valign="top"/> <listheader label="field-3" hflex="2" valign="top"/> <listheader label="field-4" hflex="1" valign="top"/> </listhead> <listitem forEach="${items}"> <listcell label="${each}-1" /> <listcell label="${each}-2" /> <listcell label="${each}-3" /> <listcell label="${each}-4" /> </listitem> </listbox> </zk>