-
Bug
-
Resolution: Fixed
-
Minor
-
6.5.8.1, 7.0.8, 8.6.1
-
Security Level: Jimmy
-
ZK 8.6.2 S1, ZK 8.6.2 S2
Steps to Reproduce
1. run
<listbox id="box" vflex="min"> <listhead sizable="true"> <listheader label="name" sort="auto" /> <listheader label="gender" sort="auto" /> </listhead> <listitem> <listcell label="Mary" /> <listcell label="FEMALE" /> </listitem> <listitem> <listcell label="John" /> <listcell label="MALE" /> </listitem> <listitem> <listcell label="Jane" /> <listcell label="FEMALE" /> </listitem> <listitem> <listcell label="Henry" /> <listcell label="MALE" /> </listitem> </listbox>
Current Result
an unnecessary vertical scrollbar on the right
Expected Result
no that scrollbar
Debug Information
vflex only counts widgets' height, without scrollbar. But a scrollbar occupied space.
(e.g. counts listhead and 4 listitems)
Workaround
remove vflex=min
- relates to
-
ZK-3074 Listbox doesn't extends it width with hflex="min" and predefined height
- Closed