On Thu, 9 Feb 2017 08:39:55 -0600 Jeff Hoogland <[email protected]> said:
> Why is it that one is stretched and one isn't with the same EDC file > contents then? Is the one that is fit just happen to have "nice" dimensions > for the space the object has? it has nothing to do with your edje/edc files. both of them set to stretch. the actual OBJECT is bigger/stretched in one case. thus code that sizes that object is to blame or code that instructs the parent object what to do... :) edc files dont give any insight into what is laying out those objects, but your issue is with whatever sizes/lays out the edje objects. > On Tue, Feb 7, 2017 at 11:52 AM, Cedric BAIL <[email protected]> wrote: > > > On Tue, Feb 7, 2017 at 9:28 AM, Jeff Hoogland <[email protected]> > > wrote: > > > Really baffled by this. Using EFL 1.18.4 release. How is it possible for > > > two images with the exact same EDC file to be displayed differently in > > the > > > same object? > > > > > > First: http://i.imgur.com/xvi49CS.png > > > Second: http://i.imgur.com/c2KbyGr.png > > > > > > One is all stretched out, the other perfectly fine > > > > > > Source for the image edcs: > > > > > > https://github.com/JeffHoogland/MokshaForum/blob/ > > master/forum-moksha/edcs/mokshapreview.edc > > > https://github.com/JeffHoogland/MokshaRadiance/ > > blob/master/MokshaRadiance/edc/mokshapreview.edc > > > > > > The preview PNG files are slightly different resolutions if that matters > > > for some reason. Ideally would like both image previews to scale based on > > > width and not distort at all. > > > > If the image are not the same, the constraint applied by edje are not > > the same. You may want to force the aspect of the image to be > > respected with "aspect_preference: SOURCE". I am guessing that this is > > the problem. > > > > Cedric > > > > ------------------------------------------------------------ > > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > enlightenment-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > -- > ~Jeff Hoogland <http://jeffhoogland.com/> > My Projects on GitHub <https://github.com/JeffHoogland> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
