[Lazarus] WordWrap in TLabel

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Sep 14 18:12:53 CEST 2013


On Sat, 14 Sep 2013 15:41:34 +0100
Martin <lazarus at mfriebe.de> wrote:

> On 14/09/2013 15:37, Jürgen Hestermann wrote:
>[...]
> > If the text contains no spaces it is not wrapped at all.
> > I want to change this and split the text in all
> > situations (independend from the content of the text).

If you need it cross platform then you have to implement your own
TLabel descendant and do the drawing and size calculation yourself.
Or patch TLabel. It's open source.

Mattias




More information about the Lazarus mailing list