efl_ui_bg: fix unclipped image on EFL_UI_IMAGE_SCALE_TYPE_NONE
authorSungtaek Hong <sth253.hong@samsung.com>
Thu, 23 Nov 2017 23:43:23 +0000 (15:43 -0800)
committerCedric Bail <cedric@osg.samsung.com>
Thu, 23 Nov 2017 23:43:26 +0000 (15:43 -0800)
commit1f35c2363a7d96bb4108ad189d636a5f189bd62c
tree029e1ed614095f3af8666ff0f727e881d621b119
parent5de4d45666af148134b242d95b4ef48cbc19a5d1
efl_ui_bg: fix unclipped image on EFL_UI_IMAGE_SCALE_TYPE_NONE

@fix

Summary:
efl_ui_bg has internal image and image may be larger than
         resize_obj when EFL.UI.IMAGE.SCALE_TYPE is none.
         Now resize_obj clips the internal image.

Test Plan:
1.Run elementary_test, part background(will be added soon)
2.Create a bg in a box with other widgets.
  Set bg as EFL_UI_IMAGE_SCALYE_TYPE_NONE.

Reviewers: jpeg, cedric

Reviewed By: cedric

Subscribers: woohyun

Differential Revision: https://phab.enlightenment.org/D5509

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
data/elementary/themes/edc/elm/bg.edc