elm_image: add a new eo property 'align' and implement related functions
authorJaeun Choi <jaeun12.choi@samsung.com>
Fri, 27 May 2016 11:58:25 +0000 (20:58 +0900)
committerJaeun Choi <jaeun12.choi@samsung.com>
Mon, 30 May 2016 11:26:34 +0000 (20:26 +0900)
commitab23a5309490d726fe6299b3c4a24c4938baf75f
treed6aed238323882012a9e1b6df12ba6dc6ade9cc5
parent58d50e2b13f35e59f538cd7865660caadc169c2c
elm_image: add a new eo property 'align' and implement related functions

previously, elm_image refered to align values
set by evas_object_size_hint_align_set function
to position the internal image inside an image object.
size hint value is for positioning the image object inside its container object,
so the previous code is inappropriate.
this commit adds 'align' property for positioning the internal image.
src/lib/elementary/elm_image.c
src/lib/elementary/elm_image.eo
src/lib/elementary/elm_widget_image.h