gengrid.edc: clip the swallowed object when the object is too big to fit.

this should be applied to other SWALLOW parts if neccessary.
This commit is contained in:
Daniel Juyung Seo 2013-04-16 16:17:25 +09:00
parent ac06f3db82
commit dd927083b1
1 changed files with 9 additions and 1 deletions

View File

@ -124,8 +124,16 @@ 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;