ref: 4306fa59932ef037855d8b783245987377038477
parent: 7cd8727f6c074f84f42db895483258bc0ef43c1d
author: Simon Howard <fraggle@gmail.com>
date: Thu Aug 31 14:10:49 EDT 2006
Center the calculator in the window. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 574
--- a/textscreen/examples/calculator.c
+++ b/textscreen/examples/calculator.c
@@ -123,6 +123,7 @@
table = TXT_NewTable(4);
TXT_AddWidget(window, table);
+ TXT_SetWidgetAlign(table, TXT_HORIZ_CENTER);
AddNumberButton(table, 7);
AddNumberButton(table, 8);