diff options
author | John Stebbins <[email protected]> | 2018-05-15 09:30:25 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2018-05-15 09:32:13 -0700 |
commit | 70151214eea4fa98eedbf796a6c749d14bf4909d (patch) | |
tree | db81cb0bf14eb54c01fdbbcf4a72f5c9add54dd9 /gtk/src | |
parent | 065a485ccbaf9fc051e0d6f607ae590f5aaa40d4 (diff) |
LinGui: fix display of video quality over slider
After changing video encoders, the slider value was cut off at the
right edge of the window.
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/callbacks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index 0dc181b9c..30d237ce1 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -1548,6 +1548,7 @@ ghb_scale_configure( scale = GTK_SCALE(GHB_WIDGET(ud->builder, name)); + gtk_scale_set_draw_value(scale, FALSE); adj = gtk_range_get_adjustment(GTK_RANGE(scale)); page_sz = gtk_adjustment_get_page_size(adj); @@ -1555,6 +1556,7 @@ ghb_scale_configure( gtk_scale_set_digits(scale, digits); gtk_range_set_inverted(GTK_RANGE(scale), inverted); + gtk_scale_set_draw_value(scale, TRUE); } void |