summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinseok Kim <minseok3.kim@samsung.com>2012-08-16 13:38:21 +0900
committerMinseok Kim <minseok3.kim@samsung.com>2012-08-16 13:38:21 +0900
commit2a93e9b563ac644a2ed6d041a486c87ade4dc570 (patch)
tree3a4a1071eeb3b3c405fb1d7c64e9b02f7ac67516
parentf227e1d4dab6db9831cf712fdbc03606f52904dd (diff)
downloadefl-theme-tizen-2a93e9b563ac644a2ed6d041a486c87ade4dc570.tar.gz
efl-theme-tizen-2a93e9b563ac644a2ed6d041a486c87ade4dc570.tar.bz2
efl-theme-tizen-2a93e9b563ac644a2ed6d041a486c87ade4dc570.zip
[Multibuttonentry] modify space of button
Change-Id: I331347a17ef60b96675ef676ee6ae76c0f1689a1
-rw-r--r--themes/inc/tizen-hd-inc.edc6
-rw-r--r--themes/widgets/multibuttonentry.edc25
2 files changed, 20 insertions, 11 deletions
diff --git a/themes/inc/tizen-hd-inc.edc b/themes/inc/tizen-hd-inc.edc
index f1aa4279..eaa14866 100644
--- a/themes/inc/tizen-hd-inc.edc
+++ b/themes/inc/tizen-hd-inc.edc
@@ -834,14 +834,14 @@
#define MULTIBUTTONENTRY_BUTTON_BASE_SIZE_INC 76
#define MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC 28 28 0 0
#define MULTIBUTTONENTRY_BUTTON_TOP_BUTTOM_PAD_INC 10
-#define MULTIBUTTONENTRY_BUTTON_LEFT_INNER_PAD_INC 16
+#define MULTIBUTTONENTRY_BUTTON_LEFT_INNER_PAD_INC 20
#define MULTIBUTTONENTRY_BUTTON_RIGHT_INNER_PAD_INC 16
-#define MULTIBUTTONENTRY_BUTTON_RIGHT_PAD_INC 16
+#define MULTIBUTTONENTRY_BUTTON_RIGHT_PAD_INC 28
#define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 36
#define MULTIBUTTONENTRY_GUIDETEXT_SIZE_INC 36
#define MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC 1
#define MULTIBUTTONENTRY_CLOSEDBUTTON_AREA_HEIGHT_INC 60
-#define MULTIBUTTONENTRY_LABEL_RIGHT_PAD_INC 27
+#define MULTIBUTTONENTRY_LABEL_RIGHT_PAD_INC 16
#define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 36
#define MULTIBUTTONENTRY_LABEL_MIN_HEIGHT_INC 75
diff --git a/themes/widgets/multibuttonentry.edc b/themes/widgets/multibuttonentry.edc
index 1d4a910f..1e618b0b 100644
--- a/themes/widgets/multibuttonentry.edc
+++ b/themes/widgets/multibuttonentry.edc
@@ -200,6 +200,20 @@
align: 1 1.0;
}
}
+ part {
+ name: "right.inner.padding";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: MULTIBUTTONENTRY_BUTTON_RIGHT_INNER_PAD_INC 0;
+ fixed: 0 0;
+ rel1 { relative: 1.0 0.0; to: "elm.base"; }
+ rel2 { relative: 1.0 1.0; to: "elm.base"; }
+ color: 0 0 0 0;
+ align: 1 1.0;
+ }
+ }
//---------------------------------------------------- contents
part {
name: "elm.btn.bg";
@@ -212,7 +226,7 @@
max: 500 56;
fixed: 0 0;
rel1 { relative: 1.0 1.0; to_x:"left.padding";to_y:"top.padding";}
- rel2 { relative: 0.0 0.0; to_x:"right.padding";to_y:"bottom.padding";}
+ rel2 { relative: 0.0 0.0; to_x:"right.inner.padding";to_y:"bottom.padding";}
image {
normal:"00_contacts_button_bg.png";
border: MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC;
@@ -245,13 +259,8 @@
min: 1 1;
align: 0.5 0.5;
}
- rel1.to:"elm.btn.bg";
- rel2.to:"elm.btn.bg";
- rel1.offset: 10 10;
- rel2.offset: -11 -11;
-
- //rel1 { relative: 1.0 1.0; to_x:"left.padding";to_y:"top.padding";}
- //rel2 { relative: 0.0 0.0; to_x:"right.padding";to_y:"bottom.padding";}
+ rel1 { relative: 1.0 1.0; to_x:"left.padding";to_y:"top.padding";}
+ rel2 { relative: 0.0 0.0; to_x:"right.inner.padding";to_y:"bottom.padding";}
}
}
}