Fixed up the layout of test/pge5.c. The change necessary to make it work will come next.
This commit is contained in:
parent
4edef818b9
commit
0b7dc94822
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue