TizenRefApp-7493 Make elements of thread-list homogeneous to make sure that their... 18/93518/6
authorDenis Dolzhenko <d.dolzhenko@samsung.com>
Mon, 24 Oct 2016 13:55:53 +0000 (16:55 +0300)
committerAndrey Klimenko <and.klimenko@samsung.com>
Tue, 25 Oct 2016 08:22:41 +0000 (01:22 -0700)
Change-Id: Ia48e46061e2d4d99c910a93d4cb5b39626a23e14
Signed-off-by: Denis Dolzhenko <d.dolzhenko@samsung.com>
src/MsgThread/Controller/src/ThreadList.cpp
src/MsgThread/Controller/src/ThreadSearchList.cpp

index 00a26ce..325af7e 100644 (file)
@@ -44,6 +44,7 @@ ThreadList::ThreadList(Evas_Object *parent, App &app)
     , m_DeleteMode(false)
 {
     ListView::setListener(this);
+    ListView::setHomogeneous(true);
     ListView::setMultiSelection(false);
     ListView::setMode(ELM_LIST_COMPRESS);
     ListView::setCmpFunc(cmpFunc);
index 6380561..2d2e449 100644 (file)
@@ -30,8 +30,9 @@ ThreadSearchList::ThreadSearchList(Evas_Object *parent, App &app)
     , m_pIdler(nullptr)
     , m_pListener(nullptr)
 {
-    setMultiSelection(false);
-    setMode(ELM_LIST_COMPRESS);
+    ListView::setHomogeneous(true);
+    ListView::setMultiSelection(false);
+    ListView::setMode(ELM_LIST_COMPRESS);
     ListView::setListener(this);
     m_App.getContactManager().addListener(*this);
     m_App.getSysSettingsManager().addListener(*this);