GNOME Bugzilla – Bug 695392
window-list: Fill max-width if possible
Last modified: 2013-04-16 16:48:00 UTC
See patch. This prevents ugly size change of window list items and has bothered me for a while.
Created attachment 238337 [details] [review] window-list: Fill max-width if possible Items in the window list should take up a fixed amount of space unless the list is full and items need to shrink. To achieve this, we set a max-width for items, but this only works if at least one item has a title long enough to request a natural width larger than that. To actually get the behavior we want, add a custom container to the hierarchy which always uses the max-width in size requests.
Review of attachment 238337 [details] [review]: Sounds like -st-natural-width from bug 664411. I much rather get that in core shell, than adding this hack here.
Created attachment 241658 [details] [review] window-list: Fill max-width if possible Items in the window list should take up a fixed amount of space unless the list is full and items need to shrink. To achieve this, replace the max-width with the newly added -st-natural-width.
Review of attachment 241658 [details] [review]: Looks good!
Attachment 241658 [details] pushed as 702cf52 - window-list: Fill max-width if possible