Recent

Author Topic: [SOLVED] TLabel Caption disappears if taRightJustify  (Read 495 times)

indydev

  • New Member
  • *
  • Posts: 26
[SOLVED] TLabel Caption disappears if taRightJustify
« on: October 03, 2021, 07:17:43 am »
When I change a TLabel control on a form dynamically (i.e. changed with code), and it is set to taRightJustify, the text disappears. If I choose taCenter, only half the caption is displayed. If taLeftJustify is selected, everything works ok.  If others can check to see if this is also occurring on there systems.  I am using Lazarus 2.1.0 FPC 3.3.1 x86_64-linux-gtk2.
« Last Edit: October 03, 2021, 07:24:08 am by indydev »

indydev

  • New Member
  • *
  • Posts: 26
[SOLVE] TLabel Caption disappears if taRightJustify is set and changed with.
« Reply #1 on: October 03, 2021, 07:23:23 am »
Ugh!. Nevermind. The Caption was being padded at the end, pushing the text off the when set to taLeftJustify.

 

TinyPortal © 2005-2018