summaryrefslogtreecommitdiff
path: root/mobile/widgets/layout.edc
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2015-05-19 22:17:12 +0900
committerYoungbok Shin <youngb.shin@samsung.com>2015-05-20 17:45:23 +0900
commit7d4ffe995094ca972b00c540350e761bf9677e29 (patch)
treef177510ff086dfa53ee34f4ed96df40944e97a0f /mobile/widgets/layout.edc
parent6bba5c2c8bbcc15f78299ce0cd4126264cf40653 (diff)
downloadefl-theme-tizen-mobile-7d4ffe995094ca972b00c540350e761bf9677e29.tar.gz
efl-theme-tizen-mobile-7d4ffe995094ca972b00c540350e761bf9677e29.tar.bz2
efl-theme-tizen-mobile-7d4ffe995094ca972b00c540350e761bf9677e29.zip
layout/nocontent: Clip the background image.
The image has to be drawn as full qHD size even if the nocontent layout is smaller than qHD size. But, if the layout is smaller than qHD size, the image has to be clipped by layout. Change-Id: Ib341163b1daf1ddd98d653911aaa0a68a21303b3
Diffstat (limited to 'mobile/widgets/layout.edc')
-rw-r--r--mobile/widgets/layout.edc9
1 files changed, 9 insertions, 0 deletions
diff --git a/mobile/widgets/layout.edc b/mobile/widgets/layout.edc
index 90238e24..72930c70 100644
--- a/mobile/widgets/layout.edc
+++ b/mobile/widgets/layout.edc
@@ -101,6 +101,7 @@ group {
part { name: "bg_image";
type: IMAGE;
scale: 1;
+ clip_to: "bg_image_clipper";
description { state: "default" 0.0;
min: 0 NO_CONTENT_BG_HEIGHT_INC;
rel1.to: "bg";
@@ -110,6 +111,14 @@ group {
image.normal: "core_theme_bg_01.png";
}
}
+ part { name: "bg_image_clipper";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ }
part { name: "top_padding";
type: SPACER;
scale: 1;