From 0b7dc948228c58e9aba9753b51fe32da713b02f4 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 3 Jun 2015 15:19:37 -0400 Subject: [PATCH] Fixed up the layout of test/pge5.c. The change necessary to make it work will come next. --- redo/test/page5.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/redo/test/page5.c b/redo/test/page5.c index b0e02a20..dd5446da 100644 --- a/redo/test/page5.c +++ b/redo/test/page5.c @@ -60,14 +60,13 @@ uiBox *makePage5(void) page5 = newVerticalBox(); - // TODO label should not be stretchy - figure out how to autosize it on text change #define D(n, f) \ hbox = newHorizontalBox(); \ button = uiNewButton(n); \ label = uiNewLabel(""); \ uiButtonOnClicked(button, f, label); \ uiBoxAppend(hbox, uiControl(button), 0); \ - uiBoxAppend(hbox, uiControl(label), 1); \ + uiBoxAppend(hbox, uiControl(label), 0); \ uiBoxAppend(page5, uiControl(hbox), 0); D("Open File", openFile);