summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikas Agrawal <vikas.ag@samsung.com>2018-09-12 09:38:51 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2018-09-12 09:38:51 +0000
commitb74738f909e0a146d23e69d4f8484a3f445d9dd3 (patch)
treec02fd31ca07a31836f5026b3dd49e98de008f3f7
parent47c260227ab5b70b5fa1772b26c75331b450da88 (diff)
parent1afabc1cdf738e58fb15a336256ecf2b7c8ac67c (diff)
downloadanalog-watch-tizen_6.5.tar.gz
analog-watch-tizen_6.5.tar.bz2
analog-watch-tizen_6.5.zip
-rw-r--r--src/comp-manager.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/comp-manager.c b/src/comp-manager.c
index d4872d6..40c91a4 100644
--- a/src/comp-manager.c
+++ b/src/comp-manager.c
@@ -262,7 +262,7 @@ void _comp_on_ready_for_edit_cb(watchface_editable_container_h ed_con_h, const c
}
watchface_editable_highlight_create(&hi, WATCHFACE_EDITABLE_SHAPE_TYPE_CIRCLE);
- watchface_editable_highlight_set_geometry(hi, 100, 100, 100, 100);
+ watchface_editable_highlight_set_geometry(hi, 0, 0, 360, 360);
watchface_editable_add_design_element(ed_con_h, DIAL_EDIT, current_idx,
candidates_list, hi, "Dial");
watchface_editable_candidates_list_destroy(candidates_list);
@@ -283,13 +283,12 @@ void _comp_on_ready_for_edit_cb(watchface_editable_container_h ed_con_h, const c
}
}
- watchface_editable_highlight_set_geometry(hi, 100, 100, 100, 100);
watchface_editable_add_design_element(ed_con_h, HANDS_EDIT, current_idx,
- candidates_list, hi, "Hand");
+ candidates_list, NULL, "Hand");
watchface_editable_candidates_list_destroy(candidates_list);
/* Battery */
- watchface_editable_highlight_set_geometry(hi, 100, 100, 100, 100);
+ watchface_editable_highlight_set_geometry(hi, 208, 118, 124, 124);
watchface_editable_add_complication(ed_con_h, RIGHT_COMP, _comp, hi);
watchface_editable_request_edit(ed_con_h, _comp_on_editable_update, user_data);