IgnorantGuru / spacefm

SpaceFM File Manager
http://ignorantguru.github.com/spacefm/
GNU General Public License v3.0
487 stars 73 forks source link

Bookmarks separator is 1px thick #500

Open Vladimir-csp opened 9 years ago

Vladimir-csp commented 9 years ago

Separator is 1px thick, it is very hard to click on it. It should have some margins, space to click on.

IgnorantGuru commented 9 years ago

The separator width in the Bookmarks side pane is almost certainly controlled by the GTK theme - there is no tree view API access to this. This may be controlled by the grid-line-width or tree-line-width style properties in the tree view. The method to change the relevant style property may differ between GTK2 and GTK3.

Generally speaking, it's problematic and discouraged to hack themes and styles in an application, and SpaceFM doesn't generally do so. In this case it might be worth it, but would require research. If someone wants to figure out the code to change this (for both GTK2 and GTK3), I'd consider incorporating it. Probably the first step would be to hack your GTK theme to see how to increase the size.

Also note: some themes don't show the separators in the tree view at all, though Adwaita does.

As a workaround, it's easier to click on separators in the Bookmarks menu.