Remove white inline border from JavaFX TreeView


So, I created a TreeView and styled it with a dark color. The problem now is, that there’s a white border which I wasn’t able to remove as you can see here. I tried to add
.tree-view { -fx-border-style: none; -fx-border: none; } but it didn’t work.

Can anyone help me with this? Thanks in advance!

Source: CSS – Stack Overflow

October 7, 2021
Category : News
Tags: css | java | javafx | treeview

Leave a Reply

Your email address will not be published. Required fields are marked *

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.