-
Bug
-
Resolution: Fixed
-
Normal
-
6.5.1
-
None
<zk> <window title="Window1" border="normal" id="win" width="600px"> <hlayout hflex="1" id="h"> <vlayout hflex="1"> <label value="Listbox A"/> <listbox hflex="1"> <listitem label="A1"/> <listitem label="A2"/> </listbox> </vlayout> <vlayout hflex="1" id="d" visible="false"> <label value="Listbox B"/> <listbox hflex="1"> <listitem label="B1"/> <listitem label="B2"/> </listbox> </vlayout> </hlayout> <button label="toggle" onClick="d.visible = !d.visible;" /> </window> </zk>
Steps:
1. Click "toggle" button.
2. See Listbox B showed
3. Click "toggle" button again.
Expect:
Should see "Listbox B" disappear and "Listbox A" should resized to match hflex="1".
Actual:
Listbox A didn't resize to match hflex="1".