rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=4eca9dbac89a4541bc506f6c7bc79caefb0820bd

commit 4eca9dbac89a4541bc506f6c7bc79caefb0820bd
Author: Vitalii Vorobiov <[email protected]>
Date:   Wed Jun 1 15:40:16 2016 +0300

    TIZEN: style for property to fit manager UIUX
---
 data/themes/tizen/widgets/layout.edc | 75 +++++++++++++++++++++++++++++++-----
 src/bin/ui/property/property.c       |  3 ++
 2 files changed, 68 insertions(+), 10 deletions(-)

diff --git a/data/themes/tizen/widgets/layout.edc 
b/data/themes/tizen/widgets/layout.edc
index a824757..313a675 100644
--- a/data/themes/tizen/widgets/layout.edc
+++ b/data/themes/tizen/widgets/layout.edc
@@ -241,6 +241,10 @@ group { name: "elm/layout/navigator/default";
          description { state: "default" 0.0;
             color: 225 225 225 255;
          }
+         description { state: "tizen" 0.0;
+            inherit: "default" 0.00;
+            color: 244 244 244 255;
+         }
       }
       part { name: "area.top";
          type: SPACER;
@@ -258,7 +262,7 @@ group { name: "elm/layout/navigator/default";
             color_class: "main";
             color: 0 150 221 255;
             text {
-               font: FN_B;
+               font: "Sans:style=Bold";
                size: 13;
                align: 0.0 0.5;
             }
@@ -281,6 +285,16 @@ group { name: "elm/layout/navigator/default";
             rel1.to_x: "area.top";
             rel2.offset: -4 -1;
          }
+         description { state: "tizen" 0.0;
+            inherit: "disabled" 0.00;
+            color_class: "genlist_text_tree";
+            text.font: "PT";
+            rel1 {
+               offset: 0 0;
+               to_x: "elm.swallow.icon";
+            }
+            rel2.offset: -6 -1;
+         }
       }
       part { name: "elm.swallow.icon";
          type: SWALLOW;
@@ -298,15 +312,14 @@ group { name: "elm/layout/navigator/default";
             inherit: "default" 0.00;
             visible: 0;
          }
-      }
-      part { name: "elm.swallow.content";
-         type: SWALLOW;
-         description { state: "default" 0.0;
-            rel1 {
-               relative: 0.0 1.0;
-               offset: -1 3;
-               to_y: "area.top";
-            }
+         description { state: "tizen" 0.0;
+            inherit: "disabled" 0.00;
+            visible: 1;
+            fixed: 1 1;
+            min: 0 0;
+            max: -1 -1;
+            rel1.offset: 0 0;
+            rel2.relative: 0.0 0.0;
          }
       }
       part { name: "border";
@@ -322,6 +335,38 @@ group { name: "elm/layout/navigator/default";
                to_y: "elm.swallow.content";
             }
          }
+         description { state: "tizen" 0.0;
+            align: 0.5 0.0;
+            fixed: 0 1;
+            color_class: "border";
+            color: 204 204 204 255;
+            rel1 {
+               relative: 0.0 1.0;
+               offset: 0 8;
+               to_y: "area.top";
+            }
+         }
+      }
+      part { name: "elm.swallow.content";
+         type: SWALLOW;
+         description { state: "default" 0.0;
+            rel1 {
+               relative: 0.0 1.0;
+               offset: -1 3;
+               to_y: "area.top";
+            }
+         }
+         description { state: "tizen" 0.0;
+            fixed: 0 1;
+            rel1 {
+               offset: 1 1;
+               to: "border";
+            }
+            rel2 {
+               offset: -2 -2;
+               to: "border";
+            }
+         }
       }
       part { name: "elm.swallow.btn0";
          type: SWALLOW;
@@ -401,6 +446,16 @@ group { name: "elm/layout/navigator/default";
          target: "elm.text";
          target: "elm.swallow.icon";
       }
+      program { name: "tizen";
+         signal: "elm,state,tizen,set";
+         source: "elm";
+         action: STATE_SET "tizen" 0.00;
+         target: "bg";
+         target: "elm.swallow.icon";
+         target: "elm.text";
+         target: "border";
+         target: "elm.swallow.content";
+      }
    }
 }
 
diff --git a/src/bin/ui/property/property.c b/src/bin/ui/property/property.c
index d2d57e2..19ec25b 100644
--- a/src/bin/ui/property/property.c
+++ b/src/bin/ui/property/property.c
@@ -171,6 +171,9 @@ property_add(Evas_Object *parent, Property_Mode mode)
    pd->layout = elm_layout_add(parent);
    elm_layout_theme_set(pd->layout, "layout", "navigator", "default");
    elm_object_text_set(pd->layout, "Property");
+#ifdef HAVE_TIZEN
+   elm_layout_signal_emit(pd->layout, "elm,state,tizen,set", "elm");
+#endif
    evas_object_show(pd->layout);
 
    pd->genlist = elm_genlist_add(parent);

-- 


Reply via email to