boxlayout: Don't always reserve height for baseline alignment
authorAntónio Fernandes <antoniof@gnome.org>
Fri, 2 Jun 2023 19:18:56 +0000 (20:18 +0100)
committerAntónio Fernandes <antoniof@gnome.org>
Fri, 2 Jun 2023 19:18:56 +0000 (20:18 +0100)
commit6b59c138b2252d4cc1609c3cd2bd1bf508b9202a
tree274ee1aa973e953ef70af8c63c40ad3a75fb1da7
parentc8c895d160c686b33cf8737b276c3ea7fcc18154
boxlayout: Don't always reserve height for baseline alignment

Otherwise an horizontal box may have a larger minumum height than
any of its children even though non of them is baseline-aligned.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5863
gtk/gtkboxlayout.c