commit e40651fd4de6f6431d51be0d5418fdba7a9ebce6
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Apr 5 18:28:09 2014 -0400
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Sat Apr 5 18:28:09 2014 -0400
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.
---
src/setup/sound.c | 6 +++---
1 file 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"),