summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSungtaek Hong <sth253.hong@samsung.com>2017-11-23 15:43:23 -0800
committerCedric Bail <cedric@osg.samsung.com>2017-11-23 15:43:26 -0800
commit1f35c2363a7d96bb4108ad189d636a5f189bd62c (patch)
tree029e1ed614095f3af8666ff0f727e881d621b119
parent5de4d45666af148134b242d95b4ef48cbc19a5d1 (diff)
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>
-rw-r--r--data/elementary/themes/edc/elm/bg.edc6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/elementary/themes/edc/elm/bg.edc b/data/elementary/themes/edc/elm/bg.edc
index ed5034f..48bdfcd 100644
--- a/data/elementary/themes/edc/elm/bg.edc
+++ b/data/elementary/themes/edc/elm/bg.edc
@@ -10,6 +10,10 @@ group { name: "elm/bg/base/default";
10 data.item: "version" "119"; 10 data.item: "version" "119";
11 images.image: "bevel_dark_out.png" COMP; 11 images.image: "bevel_dark_out.png" COMP;
12 parts { 12 parts {
13 part { name: "clipper"; type: RECT;
14 description { state: "default" 0.0;
15 }
16 }
13 part { name: "base"; type: RECT; 17 part { name: "base"; type: RECT;
14 description { state: "default" 0.0; 18 description { state: "default" 0.0;
15 color_class: "dialog_base"; 19 color_class: "dialog_base";
@@ -21,7 +25,9 @@ group { name: "elm/bg/base/default";
21 } 25 }
22 } 26 }
23 part { name: "elm.swallow.background"; type: SWALLOW; 27 part { name: "elm.swallow.background"; type: SWALLOW;
28 clip_to: "clipper";
24 description { state: "default" 0.0; 29 description { state: "default" 0.0;
30 fixed: 1 1;
25 } 31 }
26 } 32 }
27 part { name: "bevel"; 33 part { name: "bevel";