forked from AuroraMiddleware/gtk
popover: Set overflow: hidden
This keeps overlay scrollbars from wrecking our nice rounded corners. Fixes: #3012
This commit is contained in:
parent
bbb15f65a7
commit
d6e352e862
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user