Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread TLabel Font Alignment
Mon, Mar 18 2019 10:54 PMPermanent Link

KimHJ

Comca Systems, Inc

When TLabel is set to Format.Alignment := caCenter it only align the text horizontally not vertically.
Is there any way to make align the text vertically so it will center in the label?

Thanks,
Kim
Thu, Mar 21 2019 11:16 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Kim,

<< When TLabel is set to Format.Alignment := caCenter it only align the text horizontally not vertically.
Is there any way to make align the text vertically so it will center in the label? >>

Not directly, no.  However, you can place the TLabel in a TBasicPanel and center it vertically by using the TLabel.Layout properties.

Tim Young
Elevate Software
www.elevatesoft.com
Image