Enlightenment CVS committal
Author : ningerso
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests
Modified Files:
ewl_password.c
Log Message:
Keep the buttons at a consistent size.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/ewl_password.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_password.c 13 Jul 2006 19:43:24 -0000 1.5
+++ ewl_password.c 13 Oct 2006 19:47:40 -0000 1.6
@@ -80,6 +80,7 @@
ewl_widget_show(password[1]);
button_hbox = ewl_hbox_new();
+ ewl_object_fill_policy_set(EWL_OBJECT(button_hbox),
EWL_FLAG_FILL_VFILL);
ewl_object_alignment_set(EWL_OBJECT(button_hbox),
EWL_FLAG_ALIGN_CENTER);
ewl_container_child_append(box, button_hbox);
ewl_box_spacing_set(EWL_BOX(button_hbox), 5);
@@ -90,6 +91,8 @@
ewl_container_child_append(EWL_CONTAINER(button_hbox), button[0]);
ewl_callback_append(button[0], EWL_CALLBACK_CLICKED,
cb_fetch_password_text, NULL);
+ ewl_object_fill_policy_set(EWL_OBJECT(button[0]), EWL_FLAG_FILL_NONE);
+ ewl_object_alignment_set(EWL_OBJECT(button[0]), EWL_FLAG_ALIGN_CENTER);
ewl_widget_show(button[0]);
button[1] = ewl_button_new();
@@ -97,6 +100,8 @@
ewl_container_child_append(EWL_CONTAINER(button_hbox), button[1]);
ewl_callback_append(button[1], EWL_CALLBACK_CLICKED,
cb_set_password_text, NULL);
+ ewl_object_fill_policy_set(EWL_OBJECT(button[1]), EWL_FLAG_FILL_NONE);
+ ewl_object_alignment_set(EWL_OBJECT(button[1]), EWL_FLAG_ALIGN_CENTER);
ewl_widget_show(button[1]);
return 1;
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs