summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup/mouse.c4
-rw-r--r--setup/txt_keyinput.c2
-rw-r--r--setup/txt_mouseinput.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/setup/mouse.c b/setup/mouse.c
index 37aaef1b..57b65b77 100644
--- a/setup/mouse.c
+++ b/setup/mouse.c
@@ -90,7 +90,7 @@ void ConfigMouse(void)
table = TXT_NewTable(2);
- TXT_SetColumnWidths(table, 25, 10);
+ TXT_SetColumnWidths(table, 27, 5);
TXT_AddWidget(table, TXT_NewLabel("Speed"));
TXT_AddWidget(table, TXT_NewSpinControl(&speed, 1, 256));
TXT_AddWidget(table, TXT_NewLabel("Acceleration"));
@@ -104,7 +104,7 @@ void ConfigMouse(void)
table = TXT_NewTable(2);
- TXT_SetColumnWidths(table, 25, 10);
+ TXT_SetColumnWidths(table, 27, 5);
AddMouseControl(table, "Fire weapon", &mouseb_fire);
AddMouseControl(table, "Move forward", &mouseb_forward);
AddMouseControl(table, "Strafe on", &mouseb_strafe);
diff --git a/setup/txt_keyinput.c b/setup/txt_keyinput.c
index 8aed3998..af939c71 100644
--- a/setup/txt_keyinput.c
+++ b/setup/txt_keyinput.c
@@ -30,7 +30,7 @@
#include "txt_label.h"
#include "txt_window.h"
-#define KEY_INPUT_WIDTH 10
+#define KEY_INPUT_WIDTH 8
static int KeyPressCallback(txt_window_t *window, int key,
TXT_UNCAST_ARG(key_input))
diff --git a/setup/txt_mouseinput.c b/setup/txt_mouseinput.c
index f389a38e..9dd0a2f8 100644
--- a/setup/txt_mouseinput.c
+++ b/setup/txt_mouseinput.c
@@ -31,7 +31,7 @@
#include "txt_label.h"
#include "txt_window.h"
-#define MOUSE_INPUT_WIDTH 10
+#define MOUSE_INPUT_WIDTH 8
static int MouseButtonToSetting(int b)
{