mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
GtkProgressBar: Fix: progress can overflow trough
For visual explanation, visit https://gitlab.gnome.org/GNOME/gtk/-/issues/5751 The linked issue tracker is for GtkScale but GtkProgressBar has the exact same problem as well
This commit is contained in:
parent
68755c0fd2
commit
8367411785
@ -462,6 +462,7 @@ gtk_progress_bar_init (GtkProgressBar *pbar)
|
||||
NULL,
|
||||
NULL,
|
||||
NULL, NULL);
|
||||
gtk_widget_set_overflow (pbar->trough_widget, GTK_OVERFLOW_HIDDEN);
|
||||
gtk_widget_set_parent (pbar->trough_widget, GTK_WIDGET (pbar));
|
||||
|
||||
pbar->progress_widget = gtk_gizmo_new_with_role ("progress",
|
||||
|
Loading…
Reference in New Issue
Block a user