On Thu, Feb 24, 2011 at 12:03 PM, Tom Hacohen <tom.haco...@partner.samsung.com> wrote: > On Thu, 2011-02-24 at 11:49 -0300, Gustavo Sverzut Barbieri wrote: >> It should be easy, given that today we already have text.fit: bool_x >> bool_y that would do ALMOST that, it will just not consider a minimum >> and maximum values. >> >> We could add something like: >> >> text.fit_range: min_x max_x min_y max_y; >> >> and that could cope with the ellipsis if the minimum text size would >> not fit into the available space. >> > > I think they care about minimum/maximum font sizes, and not > minimum/maximum sizes. They want to tell it, fit, unless < 10 and then > do ellipsis, that won't work with min_x min_y... > > We probably need: > text.fit_range: min_font_size max_font_size; > > And yeah, that should be fairly simple as well (for text object). > > I'll see what I can do, and if I'll manage to do it on Sunday, I won't > bother with reviewing the patch, because we'll just wait for the TEXT > (i.e no elm_label) version because honestly, that's cooler.
Oops! I thought exactly that, but the way I wrote is not good. After all for size we have description's min/max to limit pixels. Miscommunication! -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel