From: cedric Date: Tue, 21 Jun 2011 10:41:20 +0000 (+0000) Subject: edje: make it possible to define part.description.max on only one axis. X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~751 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d07ce4347e216030d1dce3733adedfcc4b9d95d1;p=profile%2Fivi%2Fedje.git edje: make it possible to define part.description.max on only one axis. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@60546 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/ChangeLog b/ChangeLog index 671c09f..dc2d6eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -123,3 +123,7 @@ * Fix an issue with ellipsis not working properly with small text parts. + +2011-06-21 Cedric Bail + + * Make it possible to define part.description.max only on one axis. diff --git a/src/bin/edje_cc_handlers.c b/src/bin/edje_cc_handlers.c index 6534f99..5bda585 100644 --- a/src/bin/edje_cc_handlers.c +++ b/src/bin/edje_cc_handlers.c @@ -3991,7 +3991,7 @@ st_collections_group_parts_part_description_min(void) @parameters [width] [height] @effect - The maximum size of the state. + The maximum size of the state. A size of -1.0 means that it will be ignored in one direction. @endproperty */ static void @@ -4009,8 +4009,8 @@ st_collections_group_parts_part_description_max(void) ed = ep->default_desc; if (ep->other.desc_count) ed = ep->other.desc[ep->other.desc_count - 1]; - ed->max.w = parse_float_range(0, 0, 0x7fffffff); - ed->max.h = parse_float_range(1, 0, 0x7fffffff); + ed->max.w = parse_float_range(0, -1.0, 0x7fffffff); + ed->max.h = parse_float_range(1, -1.0, 0x7fffffff); } /**