TizenRefApp-8921 Fix No Messages item (GUI) in MsgThread. 42/140342/3
authore.servetnik <e.servetnik@samsung.com>
Mon, 24 Jul 2017 15:58:00 +0000 (18:58 +0300)
committerDenis Dolzhenko <d.dolzhenko@samsung.com>
Tue, 25 Jul 2017 10:42:38 +0000 (10:42 +0000)
Change-Id: Iaf0ffcf0f3c76671fb8de70970209521015af1d8
Signed-off-by: e.servetnik <e.servetnik@samsung.com>
res/edje/common_genlist_theme.edc
res/edje/thread_compose_list_view_item.edc
src/MsgThread/View/inc/NoContentListViewItem.h
src/Settings/Controller/inc/SettingsBlockListFrame.h

index 2402e1c5cae490f7ff70ad67904dcb38ae2e0a30..4d715d879ed0d123e322cb18ca0208d51f938821 100644 (file)
@@ -12,6 +12,42 @@ collections {
          base: "font=Tizen:style=Regular font_size="32" color=#fafafa text_class=tizen align=center wrap=mixed";
          tag:  "match" "+ color=#ffffff";
       }
+      style {  name: "nocontents";
+         base: "font=Tizen:style=Regular font_size=28 align=center color=#ffffff text_class=label wrap=mixed";
+      }
+   }
+
+
+
+   group { "elm/genlist/item/item_noncontents/default";
+      data.item: "texts" "elm.text";
+      parts {
+         spacer { "spacer.top"; scale;
+            desc { "default";
+               fixed: 0 1;
+               min: 0 78;
+               align: 0.5 0.0;
+               rel2.relative: 1.0 0.0;
+            }
+         }
+         textblock { "elm.text"; scale;
+            desc { "default";
+               fixed: 1 1;
+               min: 290 37;
+               align: 0.5 0.0;
+               rel1 { relative: 0.5 1.0; to_y: "spacer.top"; }
+               rel2 { relative: 0.5 1.0; to_y: "spacer.top"; }
+               text.style: "nocontents";
+            }
+         }
+         spacer { "spacer.bottom"; scale;
+            desc { "default";
+               min: 0 15;
+               align: 0.5 0.0;
+               rel1 { relative: 0.0 1.0; to_y: "elm.text"; }
+            }
+         }
+      }
    }
 
    group {
index 2ba33d4c6b264b9166eae9ec5c4bf55284c26b16..99c225d7390dda860b0da485b52bede1467642a7 100644 (file)
@@ -172,7 +172,7 @@ collections {
       data.item: "vi_effect" "on";
       data.item: "align" "off";
       data.item: "focus_bg" "off";
-
+      data.item: "dim" "off";
       parts {
          part {
             name: "bg";
index 554181585ffd2b338c6b3ecf909660be619ccd55..5af06eb7298b067acb3f6245a69bf220dce64eb2 100644 (file)
@@ -39,7 +39,7 @@ namespace Msg {
     };
 
     inline NoContentListViewItem::NoContentListViewItem()
-        : ListItem(ListItemStyle::create("1text"))
+        : ListItem(ListItemStyle::create("item_noncontents"))
     {
     }
 
index 7afc1d739f8b218ef85eeac1184035d851ed2158..fe3a3e1b6c52c0d2eebe591726256df647e69474 100644 (file)
@@ -31,7 +31,6 @@ namespace Msg {
     class CtxPopupItem;
     class SelectButton;
     class PaddingListViewItem;
-    class NoContentListViewItem;
     class NoContentLayout;
 
     class SettingsBlockListFrame