Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-467

hflex in Listbox failed in IE 9 only

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.9
    • 5.0.8
    • Components
    • 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>
      

            SimonPai SimonPai
            jimmyshiau jimmyshiau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: