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.
Unrelated: implementing "b" and "hilight" like you did is not recommended, take a look at elementary's default theme (from svn) to see how it should be done. As for your issue: I'll take a look as soon as I can. Thanks for the report, Tom. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel