Enlightenment CVS committal
Author : pfritz
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/toolbar
Modified Files:
ewl_toolbar_test.c
Log Message:
add shrinkable fill flag (bug 178) and fix bug 20
This will slightly change the meaning of the shrink flag:
'shrink': the widget wishes to be smaller then its preferred size
'shrinkable': the widget can be smaller then its preferred size
For more information see the discussion in bug 178.
If you are using the (old) shrink fill policy in your application, you may want
to check if it still does what you want it to. Or if 'shrinkable' isn't better
for the job.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/toolbar/ewl_toolbar_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_toolbar_test.c 7 May 2008 13:38:20 -0000 1.3
+++ ewl_toolbar_test.c 11 Jun 2008 23:04:44 -0000 1.4
@@ -33,8 +33,6 @@
o2 = ewl_toolbar_new();
ewl_container_child_append(EWL_CONTAINER(body), o2);
ewl_object_alignment_set(EWL_OBJECT(o2), EWL_FLAG_ALIGN_CENTER);
- ewl_object_fill_policy_set(EWL_OBJECT(o2),
- EWL_FLAG_FILL_HFILL | EWL_FLAG_FILL_VSHRINK);
ewl_toolbar_icon_part_hide(EWL_TOOLBAR(o2), EWL_ICON_PART_LABEL);
ewl_widget_show(o2);
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs