I applied Barbieri's patch to elementary that optionally fixes elm_genlists for this and it works.
http://pastebin.com/bUJgM8yB If you need to calculate the height in a variable form, just set elm_genlist_height_for_width_mode_set(lst, EINA_TRUE) Result is, now looking good and working, http://files.1407.org/elmdentica.png Those who saw it before know how big an improvement it was. I only don't commit this right away because: a) I didn't do it b) perhaps someone wants to review it before committing (even Barbieri himself) But it *does* work. Rui Em 07-10-2010 12:52, Rui Miguel Silva Seabra escreveu: > For the record, in case someone searchs for the same problem: > > <raster> [Rui]: textwrap doesnt work in genlist. its basically not > possible (without massive overhead). so dont do it. > <raster> [Rui]: dont put wrapped text there > <raster> dont use genlist > <raster> genlist places limits on layout because it makes assumptions > <raster> to speed things up > > Rui > > Em 07-10-2010 01:36, Gustavo Sverzut Barbieri escreveu: >> Hi all, particularly Raster could be of help here. >> >> Our friend Rui from elmdentica is trying to achieve a supposedly >> simple use case with genlist that uses a text part TEXTBLOCK with >> text.min: 0 1, to limit the width but expand on height. >> >> In order to help him I tried to do a small test, but it turns out that >> for some weird reason the min calc is totally screwed, at least the >> size assigned by genlist to the item is very off. One can try the >> attached example. >> >> You can comment everything and leave just the "msg" part, but it is >> still buggy. The one liners seem correct. >> >> As this may be a bug with Edje, that is about to be released, I'd like >> someone else to check it out as well. (Probably it is not as elm_entry >> works fine). >> >> BR, > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2& L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
