Lazarus

Programming => Packages and Libraries => RichMemo => Topic started by: josh on February 26, 2017, 12:09:37 pm

Title: Possible bug OSX and TextAlign
Post by: josh 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
Title: Re: Possible bug OSX and TextAlign
Post by: skalogryz 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.
Title: Re: Possible bug OSX and TextAlign
Post by: josh 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
TinyPortal © 2005-2018