mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 12:40:10 +00:00
range: Add a queue_resize call
This is a workaround for a regression in updating scrollbars in some applications; notably eog. We haven't fully tracked down yet why a queue_allocation is not sufficient here, it should. https://bugzilla.gnome.org/show_bug.cgi?id=765410
This commit is contained in:
parent
43de771574
commit
09b2c54d41
@ -3648,7 +3648,7 @@ gtk_range_calc_slider (GtkRange *range)
|
||||
|
||||
gtk_css_gadget_set_visible (priv->slider_gadget, visible);
|
||||
|
||||
gtk_css_gadget_queue_allocate (priv->slider_gadget);
|
||||
gtk_css_gadget_queue_resize (priv->slider_gadget);
|
||||
|
||||
if (priv->has_origin)
|
||||
gtk_css_gadget_queue_allocate (priv->trough_gadget);
|
||||
|
Loading…
Reference in New Issue
Block a user