We have elm_genlist_item_item_class_set() to change the item class of an item on the fly.
But still I don't like managing many styles. I already maintains hundreds of styles and gonna get crazy. Supporting ellipsis is just one line change in edc. (change min of textblock to 0) So I'm planning to change that by signal as we did the same thing with "odd/even". How do you think? Daniel Juyung Seo (SeoZ) On Tue, Aug 2, 2011 at 9:39 AM, Mike Blumenkrantz <[email protected]> wrote: > On Tue, 2 Aug 2011 09:37:27 +0900 > Daniel Juyung Seo <[email protected]> wrote: > >> As I told you in irc, horizontal expanding is a genlist's default behavior. >> >> To meet your needs, >> 1. We need to create another item style which supports ellipsis. >> 2. Name it as "elm/genlist/item_compress/blarblar/default" >> 3. Call elm_genlist_compress_mode_set() API. >> >> This is bothersome. I can enhance this but it will break applications. >> It's quite simple but needs some considerations. >> Anyhow, I'll work on this. >> >> Thanks. >> Daniel Juyung Seo (SeoZ) >> >> On Tue, Aug 2, 2011 at 8:27 AM, Daniel Juyung Seo <[email protected]> >> wrote: >> > yay~ >> > what genlist item style did you use? >> > i will catch you in irc soon. >> > >> > Daniel Juyung Seo (SeoZ) >> > >> > On Aug 2, 2011 5:53 AM, "Mike Blumenkrantz" <[email protected]> wrote: >> >> Hey SeoZ, >> >> >> >> new bug in genlist: try making an item with a super long label/sublabel >> >> and >> >> then adding a swallow.end icon. the icon gets pushed all the way to the >> >> end of >> >> the label, usually off the canvas. >> >> >> >> -- >> >> Mike Blumenkrantz >> >> Zentific: Coding in binary since '10. >> >> >> >> > Instead, just make some sort of elm_genlist_style_set call so that you can > directly set the style. This way we avoid adding 20 api calls and can have as > many styles as necessary. > > -- > Mike Blumenkrantz > Zentific: Coding in binary since '10. > ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
