diff options
author | Simon Howard | 2006-08-31 18:10:49 +0000 |
---|---|---|
committer | Simon Howard | 2006-08-31 18:10:49 +0000 |
commit | 4306fa59932ef037855d8b783245987377038477 (patch) | |
tree | fc518fdb46fb816ba612e203f12d5e1c3783a9f1 | |
parent | 7cd8727f6c074f84f42db895483258bc0ef43c1d (diff) | |
download | chocolate-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
-rw-r--r-- | textscreen/examples/calculator.c | 1 |
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); |