From: andres <and...@gm...> - 2007-12-09 22:36:44
|
I had a problem with textblocks in Edje, even when text.max was set to true= =20 for both axis, on resize it was being ignored. =46rom what I understood, _edje_part_recalc_single in edje_calc.c was the= =20 function that dealt with this. The "if" that dealt with TEXTBLOCKS between= =20 the lines 541 to 615 had no mention of max_x or max_y. The following patch fixed the issue I was having, but I'm not sure if it's = the=20 correct way of implementing the solution. http://pastebin.com/m1f173f3c dresb |
From: Carsten H. (T. R. <ra...@ra...> - 2008-01-14 02:39:57
|
On Sun, 9 Dec 2007 19:36:03 -0300 andres <and...@gm...> babbled: > I had a problem with textblocks in Edje, even when text.max was set to true > for both axis, on resize it was being ignored. > > >From what I understood, _edje_part_recalc_single in edje_calc.c was the > function that dealt with this. The "if" that dealt with TEXTBLOCKS between > the lines 541 to 615 had no mention of max_x or max_y. > > The following patch fixed the issue I was having, but I'm not sure if it's > the correct way of implementing the solution. > > http://pastebin.com/m1f173f3c hmm - what happened to this - pastebin has it no longer? -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ra...@ra... |
From: andres <and...@gm...> - 2008-01-18 20:15:16
|
El Sunday 13 January 2008 22:45:33 Carsten Haitzler escribi=F3: > On Sun, 9 Dec 2007 19:36:03 -0300 andres <and...@gm...> babbled: > > I had a problem with textblocks in Edje, even when text.max was set to > > true for both axis, on resize it was being ignored. > > ... > > http://pastebin.com/m1f173f3c > > hmm - what happened to this - pastebin has it no longer? I submited a bug in bugzilla about this. In the patch I basically copied th= e=20 the code that dealt with the "min" property and changed min to max. Feels=20 nasty but it worked for me. See: http://bugzilla.enlightenment.org/show_bug.cgi?id=3D349 Shameless plug. I'm working on a book about Edje, this is THE moment for feedback. Speciall= y=20 if you think I omitted something or that it's all a bounch of crap. See: http://wiki.enlightenment.org/index.php/User:Dresb |
From: Carsten H. (T. R. <ra...@ra...> - 2008-01-18 23:25:51
|
On Fri, 18 Jan 2008 18:14:22 -0300 andres <and...@gm...> babbled: > El Sunday 13 January 2008 22:45:33 Carsten Haitzler escribió: > > On Sun, 9 Dec 2007 19:36:03 -0300 andres <and...@gm...> babbled: > > > I had a problem with textblocks in Edje, even when text.max was set to > > > true for both axis, on resize it was being ignored. > > > ... > > > http://pastebin.com/m1f173f3c > > > > hmm - what happened to this - pastebin has it no longer? > > I submited a bug in bugzilla about this. In the patch I basically copied the > the code that dealt with the "min" property and changed min to max. Feels > nasty but it worked for me. See: > http://bugzilla.enlightenment.org/show_bug.cgi?id=349 ok - patch in - it didn't apply as patch decided it was corrupt - so i patched by hand. > Shameless plug. > I'm working on a book about Edje, this is THE moment for feedback. Specially > if you think I omitted something or that it's all a bounch of crap. See: > http://wiki.enlightenment.org/index.php/User:Dresb that's cool man! really cool! > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > enlightenment-devel mailing list > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ra...@ra... |