summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangpyo Kim <sangpyo7.kim@samsung.com>2012-09-05 22:20:37 +0900
committerSangpyo Kim <sangpyo7.kim@samsung.com>2012-09-05 22:29:57 +0900
commitf178ab2ac4c9b58fc4cd825a1b7f695d3ac7c481 (patch)
tree4f95a2722fec813b8fe2e7f26aa4d96ffa47e14e
parent2c9628d7e9b9bdb401677ad147c480838a1279bb (diff)
downloadorg.tizen.browser-f178ab2ac4c9b58fc4cd825a1b7f695d3ac7c481.tar.gz
org.tizen.browser-f178ab2ac4c9b58fc4cd825a1b7f695d3ac7c481.tar.bz2
org.tizen.browser-f178ab2ac4c9b58fc4cd825a1b7f695d3ac7c481.zip
[Title] Set separator between list items.
[Issue#] N_SE-8956 [Problem] there is no border between URL and Title input field. [Cause] EFL seperator style name has been changed [Solution] Set proper separator style between list items. [Team] Browser UI [Developer] sangpyo7.kim [Request] N/A Change-Id: Ibc8fdcfa96252cab72cafe2d8a4f4c54d13ae1c5
-rwxr-xr-xsrc/browser-bookmark/browser-add-to-bookmark-view.cpp17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/browser-bookmark/browser-add-to-bookmark-view.cpp b/src/browser-bookmark/browser-add-to-bookmark-view.cpp
index 5d90fd3..af0da3c 100755
--- a/src/browser-bookmark/browser-add-to-bookmark-view.cpp
+++ b/src/browser-bookmark/browser-add-to-bookmark-view.cpp
@@ -231,6 +231,16 @@ Evas_Object *Browser_Add_To_Bookmark_View::_create_content_genlist(void)
BROWSER_LOGE("elm_genlist_add failed");
return NULL;
}
+ elm_object_style_set(genlist, "dialogue");
+
+ m_seperator_item_class.item_style = "dialogue/seperator.2";
+ m_seperator_item_class.func.text_get = NULL;
+ m_seperator_item_class.func.del = NULL;
+ m_seperator_item_class.func.content_get = NULL;
+ m_seperator_item_class.func.state_get = NULL;
+ Elm_Object_Item *it = elm_genlist_item_append(genlist, &m_seperator_item_class, NULL, NULL,
+ ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_select_mode_set(it, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);
m_edit_field_item_class.item_style = "dialogue/1icon";
m_edit_field_item_class.func.text_get = NULL;
@@ -243,12 +253,7 @@ Evas_Object *Browser_Add_To_Bookmark_View::_create_content_genlist(void)
elm_genlist_item_append(genlist, &m_edit_field_item_class, &m_title_param, NULL,
ELM_GENLIST_ITEM_NONE, NULL, NULL);
- m_seperator_item_class.item_style = "dialogue/seperator";
- m_seperator_item_class.func.text_get = NULL;
- m_seperator_item_class.func.del = NULL;
- m_seperator_item_class.func.content_get = NULL;
- m_seperator_item_class.func.state_get = NULL;
- Elm_Object_Item *it = elm_genlist_item_append(genlist, &m_seperator_item_class, NULL, NULL,
+ it = elm_genlist_item_append(genlist, &m_seperator_item_class, NULL, NULL,
ELM_GENLIST_ITEM_NONE, NULL, NULL);
elm_genlist_item_select_mode_set(it, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);