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

The layout of the vflex min is wrong when Listbox with rows without listhead

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.9
    • 5.0.8
    • Components
    • None

      For example,

      <zk>
      You should see the outline border is fitted to the listbox's height, if not that is a bug.
      	<div vflex="min">
      	<listbox rows="20" hflex="min">
      			<zscript><![CDATA[
      				List list = new ArrayList();
      				for (int i = 0; i < 20; i++)
      					list.add("item " + i);
      			]]></zscript>
      			<listitem forEach="${list}">
      				<listcell label="${each}"/>
      				<listcell label="${each}"/>
      			</listitem>
      		</listbox>
      	</div>
      </zk>

            jumperchen jumperchen
            jumperchen jumperchen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: