Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-05

TPanel.Caption and text wrapping

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Can the LCL TPanel automatically textwrap it's caption? I use this often in fpGUI's TfpgPanel and wanted to do something similar in a LCL application. But looking at the available properties in OI it seems there is no such option. Is my only alternative to use a TLabel inside the TPanel and then set TextWrap = True for the TLabel?

I think it would be nice if TPanel could have TextWrap property. Or does this go against LCL's design guidelines?

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email