Fixed up the layout of test/pge5.c. The change necessary to make it work will come next.

This commit is contained in:
Pietro Gagliardi 2015-06-03 15:19:37 -04:00
parent 4edef818b9
commit 0b7dc94822
1 changed files with 1 additions and 2 deletions

View File

@ -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);