]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix formatting of video encoder preset
authorJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 1 Nov 2016 22:45:51 +0000 (15:45 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 1 Nov 2016 22:47:09 +0000 (15:47 -0700)
GTK doesn't make the space for the label big enough.  With some tweaking
I managed to work around it's poor formatting.

gtk/src/videohandler.c

index 0ef8ec1bb9ffdd0b46fcd8050ad10e91831bef33..b57e137dd20b3d7f817f1dfcc0b4a889ed6fcc36 100644 (file)
@@ -297,7 +297,7 @@ format_video_preset_cb(GtkScale *scale, gdouble val, signal_user_data_t *ud)
     if (video_presets != NULL)
     {
         preset = video_presets[(int)val];
-        return g_strdup_printf(" %-12s", preset);
+        return g_strdup_printf("%-10s", preset);
     }
     return g_strdup_printf(" %-12s", "ERROR");
 }