From: Jihoon Kim Date: Thu, 30 Jun 2016 08:11:57 +0000 (+0900) Subject: Change genlist style for wearable profile X-Git-Tag: submit/tizen_common/20160701.180000~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F76%2F77576%2F2;p=platform%2Fcore%2Fuifw%2Fise-default.git Change genlist style for wearable profile Change-Id: I53c507ba37f5a833762f8fafdba9a44b39c2487b --- diff --git a/src/option.cpp b/src/option.cpp index bb1aa35..d685a0a 100644 --- a/src/option.cpp +++ b/src/option.cpp @@ -555,7 +555,11 @@ static void create_genlist_item_classes(SCLOptionWindowType type) if (CHECK_ARRAY_INDEX(type, OPTION_WINDOW_TYPE_MAX)) { option_elements[type].itc_main_item = elm_genlist_item_class_new(); if (option_elements[type].itc_main_item) { +#ifdef _WEARABLE + option_elements[type].itc_main_item->item_style = "1text.1icon.1"; +#else option_elements[type].itc_main_item->item_style = "type1"; +#endif option_elements[type].itc_main_item->func.text_get = _main_gl_text_get; option_elements[type].itc_main_item->func.content_get = _main_radio_gl_content_get; option_elements[type].itc_main_item->func.state_get = _main_gl_state_get; @@ -564,7 +568,11 @@ static void create_genlist_item_classes(SCLOptionWindowType type) option_elements[type].itc_language_subitems = elm_genlist_item_class_new(); if (option_elements[type].itc_language_subitems) { +#ifdef _WEARABLE + option_elements[type].itc_language_subitems->item_style = "1text.1icon.1"; +#else option_elements[type].itc_language_subitems->item_style = "type1"; +#endif option_elements[type].itc_language_subitems->func.text_get = _main_gl_text_get; option_elements[type].itc_language_subitems->func.content_get = _language_gl_content_get; option_elements[type].itc_language_subitems->func.state_get = _main_gl_state_get;