Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/combo


Modified Files:
        ewl_combo.c 


Log Message:
Combo test layout adjustment.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/combo/ewl_combo.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ewl_combo.c 18 Jan 2007 11:50:39 -0000      1.6
+++ ewl_combo.c 18 Jan 2007 12:00:03 -0000      1.7
@@ -111,6 +111,7 @@
 
        hbox = ewl_hbox_new();
        ewl_container_child_append(EWL_CONTAINER(box), hbox);
+       ewl_object_fill_policy_set(EWL_OBJECT(hbox), EWL_FLAG_FILL_HFILL);
        ewl_widget_show(hbox);
 
        data = combo_test_data_setup();
@@ -175,10 +176,16 @@
        ewl_combo_editable_set(EWL_COMBO(combo), TRUE);
        ewl_widget_show(combo);
 
+       hbox = ewl_hbox_new();
+       ewl_container_child_append(EWL_CONTAINER(box), hbox);
+       ewl_object_fill_policy_set(EWL_OBJECT(hbox), EWL_FLAG_FILL_VFILL);
+       ewl_widget_show(hbox);
+
        o = ewl_button_new();
        ewl_button_label_set(EWL_BUTTON(o), "Add items");
-       ewl_container_child_append(EWL_CONTAINER(box), o);
+       ewl_container_child_append(EWL_CONTAINER(hbox), o);
        ewl_callback_append(o, EWL_CALLBACK_CLICKED, combo_cb_add, NULL);
+       ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_NONE);
        ewl_widget_show(o);
 
        return 1;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to