[Lazarus] Rotated Text for Label or Panel

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jun 16 08:36:09 CEST 2010


On Wed, 16 Jun 2010 08:18:51 +0200
zeljko <zeljko at holobit.net> wrote:

> On Tuesday 15 June 2010 21:20, Andrew Brunner wrote:
> > Is there a component that offers rotated text drawn on component like
> > TLabel or TPanel?
> >
> > Rotation via the orientation property on the font object does not seem
> > to work (at least on the Windows 7 box I'm presently on).
> >
> > Anyone have something that works within LCL?
> 
> It works with qt widgetset (TLabel).

AFAIK painting the text rotated works under all widgetsets (except
gtk1). But the autosized bounds are not rotated.

Mattias




More information about the Lazarus mailing list