On 11/08/11 15:59, cnook wrote:
> Dear All, Hi!
>
> I have got a problem, when I used evas_object_textblock with edje.
> I am using the following style for textblock which has width 380.
>
> style { name: "tle_style";
> base: "font=MYFONT:style=Medium font_size=24 align=center
> color=#ffffff wrap=mixed ellipsis=1.0";
> tag: "br" "\n";
> tag: "ps" "ps";
> tag: "hilight" "+
> font=SLP:style=Bold";
>
> tag: "b" "+ font=MYFONT:style=Bold";
> tag: "whitecolor" "+ color=#ffffff";
> tag: "tab" "\t";
> }
>
> And the following statement is used for the textblock.
> <b>Warcraft_KR</b> 우하하 너무 잼나요 RT
>
> After calculated width of above statement is 381.
>
> In this case, edje_object_size_min_restricted_calc() take loops(4000 times?)
> until it will meet some condition (ed->w> 4000).
> Anyhow, attached patch cannot resolve the fundamental problem. it is just
> temporal solution.
> If this patch is reasonable, please take it before we find more proper way.
>
I only now got around to testing it, and it works perfectly for me.
With that being said, I had to guess the definition of your textblock
part, a compilable example would be nicer.
Are you using the latest Evas? Because I think I fixed a related issue
sometime in the last month or so.
--
Tom.
------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy
to use, easy to manage, easy to install, easy to extend.
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel