summaryrefslogtreecommitdiff
path: root/mobile/widgets/button.edc
diff options
context:
space:
mode:
authorSung-Taek Hong <sth253.hong@samsung.com>2015-09-15 13:48:04 +0900
committerSung-Taek Hong <sth253.hong@samsung.com>2015-09-15 13:48:22 +0900
commit1299452688d36897f13faf826095a31cbf1e7c9f (patch)
treeee6b681965f46c19ef4225316b832e7f99b53978 /mobile/widgets/button.edc
parent448b80980e25cc8f3ac07ad02a50589015387784 (diff)
downloadefl-theme-tizen-mobile-1299452688d36897f13faf826095a31cbf1e7c9f.tar.gz
efl-theme-tizen-mobile-1299452688d36897f13faf826095a31cbf1e7c9f.tar.bz2
efl-theme-tizen-mobile-1299452688d36897f13faf826095a31cbf1e7c9f.zip
[Button] add max size to bottom button
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com> Change-Id: I5134f4ef8f01be3ada10df5e5b93ed5785be450b
Diffstat (limited to 'mobile/widgets/button.edc')
-rw-r--r--mobile/widgets/button.edc33
1 files changed, 32 insertions, 1 deletions
diff --git a/mobile/widgets/button.edc b/mobile/widgets/button.edc
index 35d3e265..1e202e93 100644
--- a/mobile/widgets/button.edc
+++ b/mobile/widgets/button.edc
@@ -1284,7 +1284,6 @@
}
}
group { name: "elm/button/base/bottom";
- alias: "elm/button/base/popup";
inherit: "elm/button/base/default";
data.item: "vector_ux" "bottom";
data.item: "corner_radius" BUTTON_BOTTOM_CORNER_RADIUS;
@@ -1294,6 +1293,7 @@
type: SPACER;
description { state: "default" 0.0;
min: BUTTON_BOTTOM_MIN_WIDTH_INC BUTTON_BOTTOM_MIN_HEIGHT_INC;
+ max: BUTTON_BOTTOM_MAX_WIDTH_INC BUTTON_BOTTOM_MAX_HEIGHT_INC;
}
}
part { name: "tizen_vg_shape";
@@ -1302,6 +1302,7 @@
scale: 1;
description { state: "default" 0.0;
min: 0 BUTTON_BOTTOM_MIN_HEIGHT_INC;
+ max: BUTTON_BOTTOM_MAX_WIDTH_INC BUTTON_BOTTOM_MAX_HEIGHT_INC;
}
}
//Base Shape Part
@@ -1314,6 +1315,14 @@
color: 131 145 201 255;
}
}
+ part { name: "effect_spacer";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
part { name: "tizen_vg_shape_clipper2";
type: RECT;
description { state: "default" 0.0;
@@ -1386,6 +1395,28 @@
}
}
}
+ group { name: "elm/button/base/popup";
+ inherit: "elm/button/base/bottom";
+ data.item: "vector_ux" "bottom";
+ data.item: "corner_radius" BUTTON_BOTTOM_CORNER_RADIUS;
+ parts {
+ part { name: "base";
+ scale: 1;
+ type: SPACER;
+ description { state: "default" 0.0;
+ min: BUTTON_POPUP_MIN_WIDTH_INC BUTTON_POPUP_MIN_HEIGHT_INC;
+ }
+ }
+ part { name: "tizen_vg_shape";
+ type: SWALLOW;
+ clip_to: "tizen_vg_shape_clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 BUTTON_POPUP_MIN_HEIGHT_INC;
+ }
+ }
+ }
+ }
/* This transparent button style is used by applications which use webview. */
group{ name: "elm/button/base/transparent";
script {