rimmed pushed a commit to branch master.

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

commit f8603143f2a78bccc7be66096def48a021a2e9f0
Author: Mykyta Biliavskyi <[email protected]>
Date:   Tue May 24 19:39:57 2016 +0300

    Tizen theme: add style for genlist item aligned style.
    
    This style uses in project navigator as a leaf style.
---
 data/themes/tizen/widgets/genlist.edc | 178 +++++++++++++++++++++++++++++++++-
 1 file changed, 174 insertions(+), 4 deletions(-)

diff --git a/data/themes/tizen/widgets/genlist.edc 
b/data/themes/tizen/widgets/genlist.edc
index ee4698d..316d897 100644
--- a/data/themes/tizen/widgets/genlist.edc
+++ b/data/themes/tizen/widgets/genlist.edc
@@ -183,15 +183,182 @@ group { name: "elm/genlist/item/default/default";
 }
 
 group { name: "elm/genlist/item/aligned/default";
-   inherit: "elm/genlist/item/default/default";
+   data {
+      item: "texts" "elm.text";
+      item: "treesize" "20";
+      item: "contents" "elm.swallow.icon elm.swallow.end";
+      item: "stacking" "above";
+      item: "selectraise" "on";
+   }
    parts {
+      part { name: "bg";
+         type: RECT;
+         description { state: "default" 0.0;
+            color: 0 0 0 0;
+         }
+         description { state: "selected" 0.0;
+            inherit: "default" 0.00;
+            color_class: "genlist_selected";
+            color: 255 255 255 255;
+         }
+         description { state: "reorder" 0.0;
+            inherit: "selected" 0.00;
+            color_class: "select";
+         }
+      }
+      part { name: "separator";
+         type: RECT;
+         description { state: "default" 0.0;
+            visible: 0;
+            align: 0.5 1.0;
+            min: 0 1;
+            max: -1 1;
+            color: 68 68 68 255;
+         }
+         description { state: "hide" 0.0;
+            inherit: "default" 0.00;
+            visible: 0;
+         }
+      }
       part { name: "elm.swallow.pad";
          type: SWALLOW;
          description { state: "default" 0.0;
             align: 0.0 0.5;
+            fixed: 1 0;
             rel1.offset: 20 0;
+            rel2.relative: 0.0 1.0;
+         }
+         description { state: "hide" 0.0;
+            inherit: "default" 0.00;
+            visible: 0;
+            rel1.offset: 0 0;
+         }
+      }
+      part { name: "elm.swallow.icon";
+         type: SWALLOW;
+         repeat_events: 1;
+         description { state: "default" 0.0;
+            align: 0.0 0.5;
+            fixed: 1 1;
+            min: 16 16;
+            max: 16 16;
+            aspect: 1.0 1.0;
+            aspect_preference: VERTICAL;
+            rel1 {
+               relative: 1.0 0.0;
+               offset: 0 3;
+               to_x: "elm.swallow.pad";
+            }
+            rel2 {
+               relative: 0.0 1.0;
+               offset: -1 -4;
+            }
+         }
+         description { state: "hide" 0.0;
+            inherit: "default" 0.00;
+            visible: 0;
+            fixed: 0 0;
+            min: 14 14;
+            max: 14 14;
+            rel1.offset: 6 3;
+         }
+      }
+      part { name: "elm.text";
+         type: TEXT;
+         repeat_events: 1;
+         description { state: "default" 0.0;
+            min: 0 16;
+            max: -1 16;
+            color_class: "genlist_text_tree";
+            text {
+               font: "Sans";
+               size: 13;
+               align: 0.0 0.5;
+            }
+            rel1 {
+               relative: 1.0 0.0;
+               offset: 6 4;
+               to_x: "elm.swallow.icon";
+            }
+            rel2 {
+               relative: 0.0 1.0;
+               offset: -7 -5;
+               to_x: "elm.swallow.end";
+            }
+         }
+         description { state: "hide" 0.0;
+            inherit: "default" 0.00;
+            visible: 0;
          }
       }
+      part { name: "elm.swallow.end";
+         type: SWALLOW;
+         repeat_events: 1;
+         description { state: "default" 0.0;
+            align: 1.0 0.5;
+            fixed: 1 0;
+            min: 16 16;
+            max: 16 16;
+            aspect: 1.0 1.0;
+            aspect_preference: VERTICAL;
+            rel1 {
+               relative: 1.0 0.0;
+               offset: 0 3;
+            }
+            rel2.offset: -7 -4;
+         }
+         description { state: "hide" 0.0;
+            inherit: "default" 0.00;
+            visible: 0;
+            min: 0 0;
+            max: -1 -1;
+         }
+      }
+      part { name: "disclip";
+         type: RECT;
+         repeat_events: 1;
+         description { state: "default" 0.0;
+            color: 255 255 255 0;
+         }
+      }
+   }
+   programs {
+      program { name: "selected";
+         signal: "elm,state,selected";
+         source: "elm";
+         action: STATE_SET "selected" 0.00;
+         target: "bg";
+      }
+      program { name: "unselected";
+         signal: "elm,state,unselected";
+         source: "elm";
+         action: STATE_SET "default" 0.00;
+         target: "bg";
+      }
+      program { name: "reorder";
+         signal: "elm,state,reorder,enable";
+         source: "elm";
+         action: STATE_SET "reorder" 0.00;
+         target: "bg";
+      }
+      program { name: "unreorder";
+         signal: "elm,state,reorder,disable";
+         source: "elm";
+         action: STATE_SET "selected" 0.00;
+         target: "bg";
+         after: "selected";
+      }
+      program { name: "item_hide";
+         signal: "elm,state,contract_flip";
+         source: "elm";
+         action: STATE_SET "hide" 0.00;
+         target: "separator";
+         target: "elm.swallow.icon";
+         target: "elm.swallow.pad";
+         target: "elm.text";
+         target: "elm.swallow.end";
+         target: "disclip";
+      }
    }
 }
 
@@ -344,6 +511,10 @@ group { name: "elm/genlist/tree/default/default";
       item: "stacking" "above";
       item: "selectraise" "on";
    }
+   images {
+         image: "arrow_side_nor.png" COMP;
+         image: "arrow_bottom_nor.png" COMP;
+      }
    parts {
       part { name: "bg";
          type: RECT;
@@ -480,8 +651,7 @@ group { name: "elm/genlist/tree/default/default";
             fixed: 1 1;
             min: 9 9;
             max: 9 9;
-            color_class: "genlist_text_tree";
-            image.normal: "icon_arrow_right.png";
+            image.normal: "arrow_side_nor.png";
             rel1 {
                relative: 1.0 0.0;
                offset: 6 0;
@@ -498,7 +668,7 @@ group { name: "elm/genlist/tree/default/default";
          }
          description { state: "selected" 0.0;
             inherit: "default" 0.00;
-            image.normal: "icon_arrow_down.png";
+            image.normal: "arrow_bottom_nor.png";
          }
       }
       part { name: "disclip";

-- 


Reply via email to