summaryrefslogtreecommitdiff
path: root/src/setup/sound.c
diff options
context:
space:
mode:
authorSimon Howard2014-04-05 18:28:09 -0400
committerSimon Howard2014-04-05 18:28:09 -0400
commite40651fd4de6f6431d51be0d5418fdba7a9ebce6 (patch)
tree4fca51cdd3d48ce551402ed1314be9c4acee3d31 /src/setup/sound.c
parenta80aa343a53c3dd3db2434a52d70de72ec4df955 (diff)
downloadchocolate-doom-e40651fd4de6f6431d51be0d5418fdba7a9ebce6.tar.gz
chocolate-doom-e40651fd4de6f6431d51be0d5418fdba7a9ebce6.tar.bz2
chocolate-doom-e40651fd4de6f6431d51be0d5418fdba7a9ebce6.zip
setup: Adjust positioning of sound dialog.
When configuring Chocolate Strife the sound dialog can become quite tall, and the dialog is visibly uncentered vertically. Move it up slightly to counterbalance it.
Diffstat (limited to 'src/setup/sound.c')
-rw-r--r--src/setup/sound.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/setup/sound.c b/src/setup/sound.c
index 9ce6757c..661128ff 100644
--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -244,14 +244,14 @@ void ConfigSound(void)
window = TXT_NewWindow("Sound configuration");
TXT_SetWindowPosition(window, TXT_HORIZ_CENTER, TXT_VERT_TOP,
- TXT_SCREEN_W / 2, 6);
+ TXT_SCREEN_W / 2, 5);
TXT_AddWidgets(window,
TXT_NewSeparator("Sound effects"),
sfx_table = TXT_NewTable(2),
NULL);
- TXT_SetColumnWidths(sfx_table, 20, 14);
+ TXT_SetColumnWidths(sfx_table, 19, 15);
TXT_AddWidgets(sfx_table,
TXT_NewLabel("Sound effects"),
@@ -280,7 +280,7 @@ void ConfigSound(void)
extra_table = TXT_NewTable(1),
NULL);
- TXT_SetColumnWidths(music_table, 20, 14);
+ TXT_SetColumnWidths(music_table, 19, 15);
TXT_AddWidgets(music_table,
TXT_NewLabel("Music"),