On Fri, 23 Oct 2015 00:05:58 -0500 Jeff Hoogland <jeffhoogl...@gmail.com> said:

> if I am displaying an edj object - what does my edc code need to look like
> for the image to maintain its aspect ration as it's parent object resizes?
> My current edc file is:
> 
> group { name: "moksha/preview";
>    images.image: "preview.png" COMP;
>    parts {
>       part { name: "bg";
>          description { state: "default" 0.0;
>             image.normal: "preview.png";
>             fill.smooth: 1;
>          }
>       }
>    }
> }
> 
> The result is pretty ugly as the window resizes:
> https://www.enlightenment.org/ss/e-5628466ebaa758.63279233.jpg
> 
> How can I have the image that is contained in the edje file keep its shape?
> 
> Alternatively can I force an elementary object to have a certain aspect
> ratio?

tried:

grep -r aspect .

in the default theme edc tree? :)

> -- 
> ~Jeff Hoogland <http://jeffhoogland.com/>
> My Projects on GitHub <https://github.com/JeffHoogland>
> ------------------------------------------------------------------------------
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to