Recompute max line when a widget updates
CSS hack to make sure visible non-wrapped content can always be scrolled into view

(Even when the widest-line heuristic goes wrong.)