summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWonguk Jeong <wonguk.jeong@samsung.com>2014-03-24 15:59:35 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-03-24 15:59:35 +0900
commitda77baab86477e741b49d1e7338e32ab402849f5 (patch)
tree7e4fdae25c0a63350bee26fa43b2f57c3e74fe18
parenta9a45859112e1419634cda5815c5b7cacf90f29e (diff)
datetime: clip sub components into global clipper
Summary: Sub components(fields, disable clippers) were shown even if datetime object has no size (0, 0). To resolve the problem, I made a global clipper, @fix Test Plan: 1. create datetime object. 2. evas_object_show without size. --> datetime object shouldn't be shown Reviewers: raster, seoz, woohyun, Hermet CC: seoz Differential Revision: https://phab.enlightenment.org/D655
-rw-r--r--data/themes/edc/elm/datetime.edc9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/themes/edc/elm/datetime.edc b/data/themes/edc/elm/datetime.edc
index 16b5d590f..6e86d5a1b 100644
--- a/data/themes/edc/elm/datetime.edc
+++ b/data/themes/edc/elm/datetime.edc
@@ -2,6 +2,7 @@
2 part { \ 2 part { \
3 name: "field"#_pos; type: SWALLOW; \ 3 name: "field"#_pos; type: SWALLOW; \
4 scale: 1; \ 4 scale: 1; \
5 clip_to: "clip"; \
5 description { state: "default" 0.0; \ 6 description { state: "default" 0.0; \
6 visible: 0; \ 7 visible: 0; \
7 min: 0 0; \ 8 min: 0 0; \
@@ -102,7 +103,14 @@
102 } 103 }
103group { name: "elm/datetime/base/default"; 104group { name: "elm/datetime/base/default";
104 parts { 105 parts {
106 part { name: "clip"; type: RECT;
107 description { state: "default" 0.0;
108 rel1.to: "separator0";
109 rel2.to: "separator7";
110 }
111 }
105 part { name: "disclip"; type: RECT; 112 part { name: "disclip"; type: RECT;
113 clip_to: "clip";
106 description { state: "default" 0.0; 114 description { state: "default" 0.0;
107 rel1.to: "separator0"; 115 rel1.to: "separator0";
108 rel2.to: "separator7"; 116 rel2.to: "separator7";
@@ -113,6 +121,7 @@ group { name: "elm/datetime/base/default";
113 } 121 }
114 } 122 }
115 part { name: "disclip2"; type: RECT; 123 part { name: "disclip2"; type: RECT;
124 clip_to: "clip";
116 description { state: "default" 0.0; 125 description { state: "default" 0.0;
117 rel1.to: "separator0"; 126 rel1.to: "separator0";
118 rel2.to: "separator7"; 127 rel2.to: "separator7";