Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread TPanel Caption Alignment.
Tue, Jul 4 2017 2:36 AMPermanent Link

Steve Gill

Avatar

I'm guessing there's no way to centre (center) align the Caption of TPanel?

= Steve
Tue, Jul 4 2017 3:40 AMPermanent Link

Uli Becker

Steve,

> I'm guessing there's no way to centre (center) align the Caption of TPanel?

You can modify the interface "TPanelCaptionBar".

If you need both alignments (left and center) it's easy to create a
custom component derived from TPanel.

Uli
Tue, Jul 4 2017 3:43 AMPermanent Link

Matthew Jones

Steve Gill wrote:

> I'm guessing there's no way to centre (center) align the Caption of TPanel?

In the interface, for consistency...

--

Matthew Jones
Wed, Jul 5 2017 12:34 AMPermanent Link

Steve Gill

Avatar

Thanks for the suggestions Uli and Matthew.  Easily enough done but of course it then affects all panels in the project.  IMHO, I think the Format property should be surfaced for this component.

= Steve
Wed, Jul 5 2017 11:52 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< I'm guessing there's no way to centre (center) align the Caption of TPanel? >>

I added this for 2.06 B3.

Tim Young
Elevate Software
www.elevatesoft.com
Image