Recent

Author Topic: Strange internal border in default TListView on macOS... [SOLVED]  (Read 213 times)

carl_caulkett

  • Hero Member
  • *****
  • Posts: 649
* Mac Mini M1
* macOS 14.6.1
* Lazarus 3.99
* FPC 3.3.1

I have a settings screen which contains a TListView control, which, as far as I can tell, should have the default properties set. Why, then, is it displaying the black border around the displayed text?
« Last Edit: October 08, 2024, 08:20:57 pm by carl_caulkett »
"It builds... ship it!"

carl_caulkett

  • Hero Member
  • *****
  • Posts: 649
Re: Strange internal border in default TListView on macOS...
« Reply #1 on: October 08, 2024, 07:34:50 pm »
I've just created a test app. With no custom project options, it displays normally, if a little too bright for my liking!
If I add the options that I usually use to get the dark theme...
Code: Text  [Select][+][-]
  1. -WM11.0
  2. -vd
  3. -gh
  4. -gl
  5.  

...I get the strange border.

Can anyone explain if this is deliberate, and if there is any simple way of getting more control over the drawing of the list items?
"It builds... ship it!"

carl_caulkett

  • Hero Member
  • *****
  • Posts: 649
Re: Strange internal border in default TListView on macOS... [SOLVED]
« Reply #2 on: October 08, 2024, 08:22:55 pm »
I've marked this as solved in as much as I am learning to live with it! It looks pretty nice actually, one you determine the relationship between the number of items and the height of the TListView ;)
"It builds... ship it!"

 

TinyPortal © 2005-2018