I’m trying to get rid of spacing between rows of a GtkTreeView presenting a single list. I managed to do this with a GtkMenu’s items and some iffy CSS, but I cannot find the right properties/CSS-selectors to do the same with a tree view.
The reason I need this is for properly showing directory art in the VICE emulator when previewing a disk image, using the old CBM font as used on their 8-bit machines, below is a screenshot of what I managed to do with the GtkMenu(Item) stuff and a bunch of CSS:
Currently, using a GtkTreeView looks like this:
As you can see, the spacing between the rows results in the dir art being broken. (Ignore the PETSCII-to-UTF8 encoding issues, I can fix that). So hopefully someone can point me in the right direction to fix this. I usually stay away from CSS and let the user’s theme handle how the UI looks, but in this case, I’ll have to customize the look of the widget.