GNOME Bugzilla – Bug 767722
gtkrevealer: support minimum size of child
Last modified: 2018-05-02 17:13:38 UTC
.
Created attachment 329895 [details] [review] gtkrevealer: support minimum size of child GtkRevealer always allocates the natural size of the child so the bin_window can take care of the animation with the full allocation of the child. However when GtkRevealer allocates the child doesn't take into account the minimum size of the child. On the other hand it does take into account the minimum size of the child when reporting the preferred size to the parent of the GtkRevealer. This behaviour clips the child of the GtkRevealer if the parent allocates less than the natural size. To fix this inconsistency, the patch makes the child adapt the allocation of the GtkRevealer as long as it's not under the minimum size of the child. Note that it no longer takes into account the animation type to report the child size. I don't think that part is necessary.
Does that patch break the revealer sizing test?
(In reply to Timm Bäder from comment #2) > Does that patch break the revealer sizing test? No
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
This patch is still relevant for 3.22 at least
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/635.