[Lazarus] Tabbed control text orientation

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Fri Dec 28 20:32:55 CET 2012


zeljko wrote:
> On Friday 28 of December 2012 19:28:43 Mark Morgan Lloyd wrote:
>> Assuming GTK2, is there an easy way of changing the orientation of the
>> text on the tab of a TPageControl etc.?
>>
>> I'm not looking for it to be pretty, but I'm trying to save a bit of
>> space by putting tabs at the RHS, and would like the text to run
>> vertically since I know there will be no more than one or two.
> 
> Afaik you can change tab orientation , but text orientation inside tab isn't 
> possible without introducing OnPaint() for TCustomTabControl (issue is already 
> opened, and it will be implemented for Delphi compatibility) , so you can draw 
> text on your own.

Thanks, I'll put up with it for the moment then :-)

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list