Icon grid layout now changes depending on the dialog window size.
As a side effect, this patch improves the grid spacing in icons-on-top mode by making it looser for small icons (which gives the labels more space) and tighter for large icons (which allows more to be seen at once).
BUG: 334099
Fixed-IN: 5.46