Forum > macOS / Mac OS X
Strange internal border in default TListView on macOS... [SOLVED]
(1/1)
carl_caulkett:
* 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?
carl_caulkett:
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 [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ----WM11.0-vd-gh -gl
...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?
carl_caulkett:
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 ;)
Navigation
[0] Message Index