seoz pushed a commit to branch master.

commit 8846be5150f5f8723e127197fa8eab2d9970f17b
Author: Daniel Juyung Seo <[email protected]>
Date:   Tue Apr 16 16:17:25 2013 +0900

    gengrid.edc: clip the swallowed object when the object is too big to fit.
    
    this should be applied to other SWALLOW parts if neccessary.
---
 data/themes/widgets/gengrid.edc | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/data/themes/widgets/gengrid.edc b/data/themes/widgets/gengrid.edc
index 469feb7..a2e54e0 100644
--- a/data/themes/widgets/gengrid.edc
+++ b/data/themes/widgets/gengrid.edc
@@ -124,9 +124,17 @@ group { name: "elm/gengrid/item/default/default";
          }
       }
       part { name: "elm.swallow.icon";
-         clip_to: "disclip";
+         clip_to: "elm.swallow.icon.area";
          type: SWALLOW;
          description { state: "default" 0.0;
+            rel1.to: "elm.swallow.icon.area";
+            rel2.to: "elm.swallow.icon.area";
+         }
+         }
+      part { name: "elm.swallow.icon.area";
+         clip_to: "disclip";
+         type: RECT;
+         description { state: "default" 0.0;
             fixed: 1 0;
             align: 0.5 0.5;
             rel1 {

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to