From 4306fa59932ef037855d8b783245987377038477 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 31 Aug 2006 18:10:49 +0000 Subject: Center the calculator in the window. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 574 --- textscreen/examples/calculator.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3