Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: text.c Log Message: Title placement tweak for weird cases and broken themes. =================================================================== RCS file: /cvs/e/e16/e/src/text.c,v retrieving revision 1.95 retrieving revision 1.96 diff -u -3 -r1.95 -r1.96 --- text.c 30 Dec 2007 20:40:49 -0000 1.95 +++ text.c 4 Jan 2008 22:55:41 -0000 1.96 @@ -902,7 +902,7 @@ if (ww > textwidth_limit) ts->ops->TextFit(ts, &lines[i], &ww, textwidth_limit); - if (justv) + if (justv && num_lines == 1 && textheight_limit > 0) yy += (textheight_limit - hh) / 2; if (i == 0) yy += ascent; @@ -935,7 +935,7 @@ if (ww > textwidth_limit) ts->ops->TextFit(ts, &lines[i], &ww, textwidth_limit); - if (justv) + if (justv && num_lines == 1 && textheight_limit > 0) yy += (textheight_limit - hh) / 2; if (i == 0) yy += ascent; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs