-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.5
-
Security Level: Jimmy
Steps to Reproduce
run either attachment of grid-auto-size.zul, listbox-auto-size.zul, treecol-auto-size.zul (issue is the same for all MeshWidgets)
1. double click the column resizer of any column
2. double click the column resizer of a different column
Current Result
1. the column auto-sizes to the minimum width
2. the other column does not auto-size and stays at its original width
Expected Result
when double clicking a column resizer the column width should always auto fit
Debug Info
(this used to work in ZK 7)
- resizing a column manually and then double clicking its resizer several times leads to alternating width between the original and the manually resized width
- Listbox listheader also has such bug
Root Cause
the cached minimum widths for each HeaderWidget are not reset before auto sizing
Workaround
applying the attached patch meshwidget-auto-size-patch-ZK-3660.js globally will fix this issue