-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.2
-
None
-
Security Level: Jimmy
-
None
-
None
steps to reproduce
- 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>