Re: [lazarus] [patch] tLabel on gtk2

2006-04-25 Thread darekm
Mattias Gaertner wrote: On Tue, 18 Apr 2006 21:15:26 +0200 darekm [EMAIL PROTECTED] wrote: Hi attached patch is fo tLabel under GTK2 paint for tLabel is invoked many times, because GTK2 has enabled rendering, painted tex show very bad after some piece of time. for multiline text

Re: [lazarus] [patch] tLabel on gtk2

2006-04-25 Thread Mattias Gaertner
On Tue, 25 Apr 2006 18:32:28 +0200 darekm [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Tue, 18 Apr 2006 21:15:26 +0200 darekm [EMAIL PROTECTED] wrote: Hi attached patch is fo tLabel under GTK2 paint for tLabel is invoked many times, because GTK2 has enabled

Re: [lazarus] [patch] tLabel on gtk2

2006-04-25 Thread darekM
I'm not sure. With tmHeight I get the wrong values. Synedit moves all lines some pixels below and cuts the rest. GetTextHeight does not have this problem. Maybe there is another bug somewhere else. I fix this bug, with first line we should move only tmAscent (gtk_draw_text need base

Re: [lazarus] [patch] tLabel on gtk2

2006-04-23 Thread Mattias Gaertner
On Tue, 18 Apr 2006 21:15:26 +0200 darekm [EMAIL PROTECTED] wrote: Hi attached patch is fo tLabel under GTK2 paint for tLabel is invoked many times, because GTK2 has enabled rendering, painted tex show very bad after some piece of time. for multiline text space between lines are to

[lazarus] [patch] tLabel on gtk2

2006-04-18 Thread darekm
Hi attached patch is fo tLabel under GTK2 paint for tLabel is invoked many times, because GTK2 has enabled rendering, painted tex show very bad after some piece of time. for multiline text space between lines are to huge setup size and color of tLabel are make up. Darek Index: