projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c6f4a
)
edje: edje_edit - fix group source generation of item 'weight' param
64/49964/2
author
Vitalii Vorobiov
<vi.vorobiov@samsung.com>
Fri, 13 Feb 2015 16:40:38 +0000
(18:40 +0200)
committer
Nikita Belyavskij
<m.biliavskyi@samsung.com>
Thu, 22 Oct 2015 23:39:57 +0000
(16:39 -0700)
@fix
Change-Id: I1623d5225556b26ac349856134d2403454644373
origin: upstream
src/lib/edje/edje_edit.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_edit.c
b/src/lib/edje/edje_edit.c
index
542527e
..
49a3290
100644
(file)
--- 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),