summaryrefslogtreecommitdiff
path: root/textscreen/examples/guitest.c
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/examples/guitest.c')
-rw-r--r--textscreen/examples/guitest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/textscreen/examples/guitest.c b/textscreen/examples/guitest.c
index 23df5282..73334b47 100644
--- a/textscreen/examples/guitest.c
+++ b/textscreen/examples/guitest.c
@@ -13,6 +13,7 @@
#include "txt_label.h"
#include "txt_radiobutton.h"
#include "txt_separator.h"
+#include "txt_strut.h"
#include "txt_table.h"
#include "txt_window.h"
@@ -104,7 +105,7 @@ void SetupWindow(void)
TXT_AddWidget(table, TXT_NewButton(buf));
}
- TXT_AddWidget(window, TXT_NewLabel(""));
+ TXT_AddWidget(window, TXT_NewStrut(0, 1));
value_label = TXT_NewLabel("");
TXT_AddWidget(window, value_label);