Recent

Author Topic: Possible bug OSX and TextAlign  (Read 3361 times)

Josh

  • Hero Member
  • *****
  • Posts: 1271
Possible bug OSX and TextAlign
« on: February 26, 2017, 12:09:37 pm »
Hi
I have a richmemo on a form with size length of 15 and text alignment of centre; on windows this works perfectly, on OSX carbon, with either center or right allign the display richmemo text vanishes.

Josh
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Possible bug OSX and TextAlign
« Reply #1 on: February 26, 2017, 01:10:18 pm »
well... it shouldn't vanish for sure.
try to add RichMemo1.Invalidate after you change the alignment.

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: Possible bug OSX and TextAlign
« Reply #2 on: February 26, 2017, 01:17:37 pm »
Hi

I thought I had tried that, but will re-check.

On re-checking .

The allignment is set at designtime to centre and it does not display text; if I change in runtime to leftalign, it becomes visisble; if i set in runtime to centre or right it vanishes.

length of richmemo is set to 15; just in case this was causing a problem, richmemo lines is set just as Test 123; and no extra linefeeds.

Josh
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

 

TinyPortal © 2005-2018