Bug 910812 - line spacing in tree (specifically in eclipse, e.g. package explorer) is way too large.
and attached following screenshots:
This is how Eclipse used to look like on Linux:
Screenshot of Package Explorer running in a past versions of Fedora. |
Current appearance of Package Explorer. Note the spacing. |
There's solution for that - just set the style of a GTK tree to have no vertical separator - you may use the command attached below:
cat >> ~/.gtkrc.mine << EOF style "tree" { GtkTreeView::vertical-separator = 0 } class "GtkTreeView" style "tree" EOF
Eclipse does not look nicer after that, but it's a way more ergonomic, isn't it?
Happy hacking!
This comment has been removed by a blog administrator.
ReplyDeleteNo spam will be tolerated.
DeleteExtremely helpful! Thank you so much for sharing.
ReplyDeleteSorry if this is double ..
ReplyDeleteI recently try to get stuff working on CentOS7/RHEL7. I am encountering exactly the problem you are describing in this post, so I created the file as described and confirmed it is there. I do however not see any improvement in the way eclipse is rendering that treeview. Is there an additional step to trigger the file .gtkrc.mine?