Fix oversized splitter bar hover area for Adwaita and any other theme that does this

This commit is contained in:
Stephen Boddy 2016-12-08 18:39:15 +01:00
parent 3a6eb144a2
commit b0c654885c
1 changed files with 15 additions and 7 deletions

View File

@ -373,8 +373,16 @@ class Terminator(Borg):
Gdk.Screen.get_default(),
self.style_provider)
self.style_provider = None
if self.config['handle_size'] in xrange(0, 21):
css = """
GtkPaned {
margin: 0 0 0 0;
padding: 0 0 0 0;
}
"""
if self.config['handle_size'] in xrange(0, 21):
css += """
GtkPaned {
-GtkPaned-handle-size: %s
}