[Lazarus] Tabbed control text orientation

zeljko zeljko at holobit.net
Fri Dec 28 20:08:37 CET 2012


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.

zeljko




More information about the Lazarus mailing list