Fix pane size for widgets that explicitly allow 0 size

Amend 1aca71e22b
This commit is contained in:
Robin Gareus 2022-01-26 22:30:35 +01:00
parent 3362f7d4fa
commit c9f40a0bf5
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ Pane::reallocate (Gtk::Allocation const & alloc)
} else {
child_alloc.set_height (max (child_alloc.get_height(), (*child)->minsize));
}
} else if ((*child)->w->is_visible ()) {
} else if (!check_fract && (*child)->w->is_visible ()) {
if (horizontal) {
child_alloc.set_width (max (child_alloc.get_width(), cr.width));
} else {