From b8339f464454df13c01d5e4cf0c407da5da62d04 Mon Sep 17 00:00:00 2001 From: Oleksander Kostenko Date: Fri, 11 Nov 2016 14:26:28 +0200 Subject: [PATCH] TizenRefApp-7600 Update header-layout in wallpaper-ui-service Change-Id: I4d809ce73238967767a4f08642cc82b44251c7b4 Signed-off-by: Oleksander Kostenko --- res/edje/popup-wallpaper-main-view.edc | 2 +- src/wallpaper-ui-service-main.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/res/edje/popup-wallpaper-main-view.edc b/res/edje/popup-wallpaper-main-view.edc index 9989df4..55e986e 100644 --- a/res/edje/popup-wallpaper-main-view.edc +++ b/res/edje/popup-wallpaper-main-view.edc @@ -31,7 +31,7 @@ #define NAVIFRAME_TABBAR_TOP_DIVIDER_HEIGHT_INC 0 #define NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0 #define NAVIFRAME_TITLE_RIGHT_PADDING_WIDTH_INC 23 -#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 120 108 +#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 140 108 #define NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC 22 #define NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC 22 #define NAVIFRAME_BADGE_HEIGHT_INC 48 diff --git a/src/wallpaper-ui-service-main.c b/src/wallpaper-ui-service-main.c index 555ce3e..ed39d09 100644 --- a/src/wallpaper-ui-service-main.c +++ b/src/wallpaper-ui-service-main.c @@ -768,16 +768,17 @@ HAPI void wallpaper_main_create_view(wallpaper_ui_service_appdata *data) } /* Title Cancel Button */ - Evas_Object *cancel_btn = elm_button_add(preveiw_main_layout); - elm_object_style_set(cancel_btn, "naviframe/back_btn/custom"); + Evas_Object *cancel_btn = elm_button_add(preveiw_main_layout); + elm_object_style_set(cancel_btn, "naviframe/title_left"); evas_object_smart_callback_add(cancel_btn, "clicked", _main_cancel_button_cb, NULL); + elm_object_domain_translatable_part_text_set(cancel_btn, "elm.text", PKGNAME, "IDS_TPLATFORM_ACBUTTON_CANCEL_ABB"); elm_object_part_content_set(preveiw_main_layout, "title_left_btn", cancel_btn); evas_object_show(cancel_btn); elm_object_signal_emit(preveiw_main_layout, "elm,state,title_left_btn,show", "elm"); /* Title Done Button */ Evas_Object *done_btn = elm_button_add(preveiw_main_layout); - elm_object_style_set(done_btn, "naviframe/title_right_custom"); + elm_object_style_set(done_btn, "naviframe/title_right"); evas_object_smart_callback_add(done_btn, "clicked", _main_done_button_cb, NULL); elm_object_domain_translatable_part_text_set(done_btn, "elm.text", PKGNAME, "IDS_TPLATFORM_ACBUTTON_DONE_ABB"); elm_object_part_content_set(preveiw_main_layout, "title_right_btn", done_btn); -- 2.7.4