summaryrefslogtreecommitdiffstats
path: root/gtk/src/videohandler.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-11-01 15:45:51 -0700
committerJohn Stebbins <[email protected]>2016-11-01 15:47:09 -0700
commit1eb4a86b9cf2f9749e162f1ac12b2e584c88aa97 (patch)
tree0ba3ad5cc605635dc737ae319eb2a29cdc4ea95c /gtk/src/videohandler.c
parent24f58b0b387f4f39c8218d24019016a9fa15e6ab (diff)
LinGui: fix formatting of video encoder preset
GTK doesn't make the space for the label big enough. With some tweaking I managed to work around it's poor formatting.
Diffstat (limited to 'gtk/src/videohandler.c')
-rw-r--r--gtk/src/videohandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/videohandler.c b/gtk/src/videohandler.c
index 0ef8ec1bb..b57e137dd 100644
--- a/gtk/src/videohandler.c
+++ b/gtk/src/videohandler.c
@@ -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");
}