-
Bug
-
Resolution: Fixed
-
Normal
-
5.0.10, 6.5.2
-
None
When using hflex inside a Toolbar component, the sizes of its children are not computed properly.
In this example, the Textbox inside the Toolbar does not take the remaining width of the toolbar, but the Textbox inside the Hbox does:
<zk> <panel border="normal" width="500px" height="400px" title="Panel"> <toolbar hflex="1"> <button label="Add"/> <button label="Delete"/> <textbox hflex="1" value="Enter something to search..."/> <button label="Go"/> </toolbar> <panelchildren> <hbox hflex="1"> <button label="Add"/> <button label="Delete"/> <textbox hflex="1" value="Enter something to search..."/> <button label="Go" hflex="1"/> </hbox> </panelchildren> </panel> </zk>