summaryrefslogtreecommitdiff
path: root/textscreen/examples
diff options
context:
space:
mode:
authorSimon Howard2006-08-31 18:10:49 +0000
committerSimon Howard2006-08-31 18:10:49 +0000
commit4306fa59932ef037855d8b783245987377038477 (patch)
treefc518fdb46fb816ba612e203f12d5e1c3783a9f1 /textscreen/examples
parent7cd8727f6c074f84f42db895483258bc0ef43c1d (diff)
downloadchocolate-doom-4306fa59932ef037855d8b783245987377038477.tar.gz
chocolate-doom-4306fa59932ef037855d8b783245987377038477.tar.bz2
chocolate-doom-4306fa59932ef037855d8b783245987377038477.zip
Center the calculator in the window.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 574
Diffstat (limited to 'textscreen/examples')
-rw-r--r--textscreen/examples/calculator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/textscreen/examples/calculator.c b/textscreen/examples/calculator.c
index 63484559..af4cb3d4 100644
--- a/textscreen/examples/calculator.c
+++ b/textscreen/examples/calculator.c
@@ -123,6 +123,7 @@ void BuildGUI()
table = TXT_NewTable(4);
TXT_AddWidget(window, table);
+ TXT_SetWidgetAlign(table, TXT_HORIZ_CENTER);
AddNumberButton(table, 7);
AddNumberButton(table, 8);