diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-08-04 15:47:50 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-08-04 15:47:50 +0000 |
commit | 0e1afbbdadcf8b3ff322814f1dee8a84c5fe99c7 (patch) | |
tree | 58d84022de3b1b243a159421217f012ffd73e35b /gtk | |
parent | a42738729b123793da757f2e6de423cd6b703e10 (diff) | |
parent | d6e352e8621788cf6c83a7c2d66df6c4de299a74 (diff) | |
download | gtk+-0e1afbbdadcf8b3ff322814f1dee8a84c5fe99c7.tar.gz |
Merge branch 'popoverflow' into 'master'
popover: Set overflow: hidden
Closes #3012
See merge request GNOME/gtk!2365
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkpopover.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c index e670d7f40c..d2d36ead63 100644 --- a/gtk/gtkpopover.c +++ b/gtk/gtkpopover.c @@ -869,6 +869,7 @@ gtk_popover_init (GtkPopover *popover) (GtkGizmoGrabFocusFunc)gtk_widget_grab_focus_child); gtk_widget_set_layout_manager (priv->contents_widget, gtk_bin_layout_new ()); gtk_widget_set_parent (priv->contents_widget, GTK_WIDGET (popover)); + gtk_widget_set_overflow (priv->contents_widget, GTK_OVERFLOW_HIDDEN); gtk_widget_add_css_class (widget, "background"); |