From 4deb1a48ddb871b9061b9e1a4e304f9a51ebae9e Mon Sep 17 00:00:00 2001 From: Jagrat Patidar Date: Thu, 3 Sep 2020 18:22:02 +0530 Subject: [PATCH] This patch resolve following jira- TIZENIOT-1675 corrects size of page indicator Change-Id: I5c742bff83b610c77750802ca40edbc926adb270 Signed-off-by: Jagrat Patidar --- inc/conf.h | 4 ++-- res/edje/page_indicator_unit.edc | 12 ++++++++---- res/images/page_indicator_center.png | Bin 427 -> 217 bytes res/images/page_indicator_current.png | Bin 716 -> 217 bytes res/images/page_indicator_unit.png | Bin 427 -> 217 bytes 5 files changed, 10 insertions(+), 6 deletions(-) mode change 100755 => 100644 res/images/page_indicator_center.png mode change 100755 => 100644 res/images/page_indicator_current.png diff --git a/inc/conf.h b/inc/conf.h index 919b133..0e678f1 100755 --- a/inc/conf.h +++ b/inc/conf.h @@ -127,9 +127,9 @@ extern int __conf_get_cluster_all_page_w(); #define PAGE_INDICATOR_PADDING_BOTTON ((40) * (__conf_get_resolution_scale_h())) #define PAGE_INDICATOR_H ((76) * (__conf_get_resolution_scale_h())) #define PAGE_INDICATOR_W ((720) * (__conf_get_resolution_scale_w())) -#define PAGE_INDICATOR_GAP 4 +#define PAGE_INDICATOR_GAP 12 #define PAGE_INDICATOR_X 0 -#define PAGE_INDICATOR_UNIT ((40) * (__conf_get_resolution_scale_h())) +#define PAGE_INDICATOR_UNIT 12 #define ALLPAGE_PREVIEW_PADDING_MID ((12) * (__conf_get_resolution_scale_w())) #define ALLPAGE_PREVIEW_PADDING_TOP ((18) * (__conf_get_resolution_scale_h())) diff --git a/res/edje/page_indicator_unit.edc b/res/edje/page_indicator_unit.edc index fbdaf1d..724fd56 100755 --- a/res/edje/page_indicator_unit.edc +++ b/res/edje/page_indicator_unit.edc @@ -62,8 +62,8 @@ collections { fixed: 1 1; rel1{relative: 0.0 0.0; to:SIZE_SETTER;} rel2{relative: 1.0 1.0; to:SIZE_SETTER;} - min: 16 16; - max: 16 16; + min: 12 12; + max: 12 12; image { normal: "page_indicator_unit.png"; } @@ -81,8 +81,8 @@ collections { state: "current" 0.0; inherit: "default" 0.0; color: 255 255 255 255; - min: 16 16; - max: 16 16; + min: 12 12; + max: 12 12; image { normal: "page_indicator_current.png"; } @@ -175,6 +175,8 @@ collections { color: 255 255 255 75; rel1{relative: 0.0 0.0; to:SIZE_SETTER;} rel2{relative: 1.0 1.0; to:SIZE_SETTER;} + min: 12 12; + max: 12 12; image { normal: "page_indicator_center.png"; } @@ -189,6 +191,8 @@ collections { state: "current" 0.0; inherit: "default" 0.0; color: 255 255 255 255; + min: 12 12; + max: 12 12; image { normal: "page_indicator_center.png"; } diff --git a/res/images/page_indicator_center.png b/res/images/page_indicator_center.png old mode 100755 new mode 100644 index 3ad7d3d5d7f7c983c476d292800c66642392f276..94fb8a2b653267202efb45f6d34cac3465db739b GIT binary patch literal 217 zcmeAS@N?(olHy`uVBq!ia0vp^JRr=$1|-8uW1a&kmSQK*5Dp-y;YjHK@+Ww@IEH8h z&z*FU_mBaP%Y9!5_m^x_cu%n$NSVT!(2~aN#womGlgQ!~LK7zGzb<+{r&jQ);b!9k zre93fuGd>+UWA%WKr?h$1yvD^#WSH2$$)8|6KZ#GvY@Pjy!rDSd@9zRC;wcH& ze>mOKs`#6Fvi!bX$;pMOA5=0|G*{Q0RAPK=z2io}$s@Y!_8$|O!@9B3PRjDS)^DKO O7(8A5T-G@yGywqWO;7Xy literal 427 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbMf>Hwb**Z=?j1DQbb_wU~j_OD;R zfFf`J6oi0RuU;i2BtY12-@XMho;`a8R0a|G_U#*l0VJP1c>-ZWWWRs^4%ExX#|Pvt zUcC6-yLYc&zXmD*ax*eAwr$(?;>C;2n>Rmy{(SZ7)uN)JKye^=`SK-%VPj(hWB}DK z?)bS0$g(I2@&h`b?bnCI?|Mv0Ea%guZwp*JCUfMj_P3nt-%p*sQ7lRdxusazIdd;KfCTdx2(@d%8G=RK)e3a1}aiAi(0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