Recent

Author Topic: LCL Mac 64bit TListView ignores changes in font size  (Read 268 times)

yazzdi

  • New Member
  • *
  • Posts: 16
LCL Mac 64bit TListView ignores changes in font size
« on: September 04, 2019, 12:51:05 am »
When porting my 32 bit laz/FPC MAC OS X app to 64bit, I’ve noticed that changing font size in a TLIstView is ignored in 64 bit (but works in 32 bit).
Is this a known bug, or maybe I’m doing it wrong.

I just set at run time
ListView1.font.size : =14;
... and expect a 14 point font, but nothing changes.


Incidentally, the same bug happens for TListBox, but it is cured by a
ListBox1.Style := lbOwnerDrawFixed;
line placed at the start of FormCreate ( as described here https://bugs.freepascal.org/view.php?id=36004 )

That said, I’m loving 64 bit LCL, many thanks to the Lazarus Mac team!
« Last Edit: September 04, 2019, 12:54:19 am by yazzdi »

cobata

  • New Member
  • *
  • Posts: 47
  • Programmer-analyst
    • COBATA Software - Research, Development, Testing, Consulting
Re: LCL Mac 64bit TListView ignores changes in font size
« Reply #1 on: October 18, 2019, 12:44:18 pm »
Hi, yazzdi,

I just casually saw your post... Do you observe the same like me from here:
https://bugs.freepascal.org/view.php?id=33990

At least you can think on my observations if they relate to your problem.
« Last Edit: October 18, 2019, 12:50:23 pm by cobata »
COBATA Software - Research, Development, Testing, Consulting
http://www.COBATA.com/