shithub: choc

Download patch

ref: a6be65e608b72b3e08ea66278e3972864c085495
parent: 61361932bf9f92deea2a97b84f8eefc8a7f0b252
author: Simon Howard <fraggle@gmail.com>
date: Thu Jan 29 18:26:03 EST 2009

Shrink text box slightly.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1439

--- a/textscreen/examples/guitest.c
+++ b/textscreen/examples/guitest.c
@@ -151,7 +151,7 @@
     table = TXT_NewTable(2);
     TXT_AddWidget(window, table);
     TXT_AddWidget(table, TXT_NewLabel("String: "));
-    TXT_AddWidget(table, TXT_NewInputBox(&textbox_value, 30));
+    TXT_AddWidget(table, TXT_NewInputBox(&textbox_value, 20));
     TXT_AddWidget(table, TXT_NewLabel("Int: "));
     TXT_AddWidget(table, TXT_NewIntInputBox(&numbox_value, 10));
     TXT_AddWidget(table, TXT_NewLabel("Spin control:"));