summaryrefslogtreecommitdiff
path: root/iup/test/vbox.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
committerPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
commiteed0eb6a476d54ce19aeff137984aa981d9e3976 (patch)
tree807891636efd2f87dcbd261e971216269973ae07 /iup/test/vbox.c
parentccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff)
Upgrading to iup 3.1
Diffstat (limited to 'iup/test/vbox.c')
-rwxr-xr-xiup/test/vbox.c12
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");