forked from AuroraMiddleware/gtk
range: Always queue an allocate if the adjustment changed
The slider gets its new size in size-allocate, so we have to do this even if the range has no origin.
This commit is contained in:
parent
6fd6ff2ea1
commit
c8a936cdcc
@ -2805,9 +2805,7 @@ gtk_range_calc_slider (GtkRange *range)
|
||||
|
||||
gtk_widget_set_visible (priv->slider_widget, visible);
|
||||
|
||||
if (priv->has_origin)
|
||||
gtk_widget_queue_allocate (priv->trough_widget);
|
||||
|
||||
gtk_widget_queue_allocate (priv->trough_widget);
|
||||
gtk_range_update_mouse_location (range);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user