diff options
Diffstat (limited to 'iup/test/vbox.c')
-rwxr-xr-x | iup/test/vbox.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/iup/test/vbox.c b/iup/test/vbox.c index 3040ea6..ac53b6b 100755 --- a/iup/test/vbox.c +++ b/iup/test/vbox.c @@ -28,13 +28,17 @@ void VboxTest(void) IupSetAttribute(fr1, "TITLE", "ALIGNMENT=ALEFT"); IupSetAttribute(btn_11, "SIZE", "20x10"); - IupSetAttribute(btn_12, "SIZE", "30x20"); - IupSetAttribute(btn_13, "SIZE", "40x30"); +// IupSetAttribute(btn_12, "SIZE", "30x20"); + IupSetAttribute(btn_12, "EXPAND", "VERTICAL"); + IupSetAttribute(btn_12, "EXPANDWEIGTH", "1.3"); +// IupSetAttribute(btn_13, "SIZE", "40x30"); + IupSetAttribute(btn_13, "EXPAND", "VERTICAL"); + IupSetAttribute(btn_13, "EXPANDWEIGTH", "0.7"); IupSetAttribute(vbox_1, "ALIGNMENT", "ALEFT"); // IupSetAttribute(vbox_1, "MARGIN", "20x20"); // IupSetAttribute(vbox_1, "GAP", "10"); - IupSetAttribute(vbox_1, "HOMOGENEOUS", "YES"); - IupSetAttribute(vbox_1, "EXPANDCHILDREN", "YES"); +// IupSetAttribute(vbox_1, "HOMOGENEOUS", "YES"); +// IupSetAttribute(vbox_1, "EXPANDCHILDREN", "YES"); // IupSetAttribute(btn_12, "VISIBLE", "NO"); // IupSetAttribute(btn_12, "FLOATING", "YES"); |