From: Prince Kr Dubey Date: Thu, 29 Dec 2011 13:10:33 +0000 (+0530) Subject: [NoContent] Fixed: Issue, text was not coming properly in HD theme. X-Git-Tag: submit/2.0alpha-wayland/20121130.000903~302 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e990b600680fd47f255bee15a97de3945a6e865;p=profile%2Fivi%2Fefl-theme-tizen.git [NoContent] Fixed: Issue, text was not coming properly in HD theme. --- diff --git a/themes/inc/tizen-black-hd-inc.edc b/themes/inc/tizen-black-hd-inc.edc index b5b73c6..5e9865b 100644 --- a/themes/inc/tizen-black-hd-inc.edc +++ b/themes/inc/tizen-black-hd-inc.edc @@ -871,6 +871,7 @@ #define NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC 0.282 0.294 #define NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC 0.718 0.54 #define NOCONTENT_BG_COLOR_INC 0 0 0 255 +#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 120 #define ENTRY_TEXT_SIZE_INC 44 #define ENTRY_TEXT_COLOR_INC "#FFFFFF" diff --git a/themes/inc/tizen-black-inc.edc b/themes/inc/tizen-black-inc.edc index f46741e..ab78187 100644 --- a/themes/inc/tizen-black-inc.edc +++ b/themes/inc/tizen-black-inc.edc @@ -858,6 +858,7 @@ #define NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC 0.294 0.288 #define NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC 0.706 0.53 #define NOCONTENT_BG_COLOR_INC 0 0 0 255 +#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 80 #define ENTRY_TEXT_SIZE_INC 28 #define ENTRY_TEXT_COLOR_INC "#FFFFFF" diff --git a/themes/inc/tizen-hd-inc.edc b/themes/inc/tizen-hd-inc.edc index ab8b637..9f58226 100644 --- a/themes/inc/tizen-hd-inc.edc +++ b/themes/inc/tizen-hd-inc.edc @@ -887,6 +887,7 @@ #define NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC 0.282 0.294 #define NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC 0.718 0.54 #define NOCONTENT_BG_COLOR_INC 249 249 249 255 +#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 120 #define ENTRY_TEXT_SIZE_INC 44 #define ENTRY_TEXT_COLOR_INC "#000000" diff --git a/themes/inc/tizen-inc.edc b/themes/inc/tizen-inc.edc index 4ffd79c..c57e31a 100644 --- a/themes/inc/tizen-inc.edc +++ b/themes/inc/tizen-inc.edc @@ -882,6 +882,7 @@ #define NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC 0.294 0.288 #define NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC 0.706 0.53 #define NOCONTENT_BG_COLOR_INC 249 249 249 255 +#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 80 #define ENTRY_TEXT_SIZE_INC 28 #define ENTRY_TEXT_COLOR_INC "#000000" diff --git a/themes/widgets/nocontents.edc b/themes/widgets/nocontents.edc index 345f3ba..09c82e5 100644 --- a/themes/widgets/nocontents.edc +++ b/themes/widgets/nocontents.edc @@ -84,8 +84,9 @@ } part { name: "elm.text"; type: TEXTBLOCK; + scale: 1; description { state: "default" 0.0; - min: 0 80; + min: NOCONTENT_TEXT_STYLE_BG_MIN_INC; fixed: 0 1; align: 0.5 0.5; visible: 1; @@ -169,8 +170,9 @@ } part { name: "elm.text"; type: TEXTBLOCK; + scale: 1; description { state: "default" 0.0; - min: 0 80; + min: NOCONTENT_TEXT_STYLE_BG_MIN_INC; fixed: 0 1; align: 0.5 0.5; visible: 1; @@ -254,8 +256,9 @@ } part { name: "elm.text"; type: TEXTBLOCK; + scale: 1; description { state: "default" 0.0; - min: 0 80; + min: NOCONTENT_TEXT_STYLE_BG_MIN_INC; fixed: 0 1; align: 0.5 0.5; visible: 1; @@ -339,8 +342,9 @@ } part { name: "elm.text"; type: TEXTBLOCK; + scale: 1; description { state: "default" 0.0; - min: 0 80; + min: NOCONTENT_TEXT_STYLE_BG_MIN_INC; fixed: 0 1; align: 0.5 0.5; visible: 1;