window: Be smarter about computing the default size
See the code comments for the reasoning behind this. After we don't force a "guessed" minimum size for labels anymore, a lot of issues started to surface that this patch attempts to fix. In particular: 1) Tooltips where wrapped as much as possible. 2) The recentchooser submenu displayed only ellipsize dots.
Showing with 57 additions and 4 deletions