From: Vitalii Vorobiov Date: Fri, 13 Feb 2015 16:40:38 +0000 (+0200) Subject: edje: edje_edit - fix group source generation of item 'weight' param X-Git-Tag: accepted/tizen/mobile/20151106.045141~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b681285eaae2015cf78391e46099673926c0d639;p=platform%2Fupstream%2Fefl.git edje: edje_edit - fix group source generation of item 'weight' param @fix Change-Id: I1623d5225556b26ac349856134d2403454644373 origin: upstream --- diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c index 542527e..49a3290 100644 --- a/src/lib/edje/edje_edit.c +++ b/src/lib/edje/edje_edit.c @@ -11018,7 +11018,11 @@ _edje_generate_source_of_part(Evas_Object *obj, Edje_Part *ep, Eina_Strbuf *buf) BUF_APPENDF(I7"padding: %d %d %d %d;\n", item->padding.l, item->padding.r, item->padding.t, item->padding.b); - + if ((item->weight.x != 0) || (item->weight.y != 0)) + _edje_source_with_double_values_append(I7"weight", 2, + TO_DOUBLE(item->weight.x), + TO_DOUBLE(item->weight.y), + buf, &ret); if (TO_DOUBLE(item->align.x) != 0.5 || TO_DOUBLE(item->align.y) != 0.5) _edje_source_with_double_values_append(I7"align", 2, TO_DOUBLE(item->align.x),