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

Listbox with min hflex cannot display empty message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.5.0
    • 8.0.2
    • None
    • Security Level: Jimmy
    • None

      steps to reproduce

      1. run the zul below
        	<listbox emptyMessage="no items here" hflex="min" >
        	</listbox>
        

      actual result

      Listbox width is 2px and users can't see the empty message

      expected result

      users can see the empty message

      workaround

      <listbox emptyMessage="no items here" style="min-width:200px"/>
      
      <listbox emptyMessage="no items here" hflex='${self.items.size() eq  0?"":"min"}' >
      ...
      </listbox>
      <listbox emptyMessage="no items here" model="${model}" hflex='${model.size() eq  0?"":"min"}' >
      ...
      </listbox>
      

            rudyhuang rudyhuang
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h