From 70151214eea4fa98eedbf796a6c749d14bf4909d Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Tue, 15 May 2018 09:30:25 -0700 Subject: [PATCH] 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. --- gtk/src/callbacks.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.40.0