From 0ddded708ed33c6584308b21e12930c9065a2f66 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 24 May 2014 18:04:18 +0530 Subject: [PATCH] Live CSS: Tighten the line spacing between properties --- src/calibre/gui2/tweak_book/live_css.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/tweak_book/live_css.py b/src/calibre/gui2/tweak_book/live_css.py index b41b365732..d3dcf815f6 100644 --- a/src/calibre/gui2/tweak_book/live_css.py +++ b/src/calibre/gui2/tweak_book/live_css.py @@ -130,7 +130,7 @@ class Declaration(QWidget): def do_layout(self): fm = self.fontMetrics() bounding_rect = lambda text: fm.boundingRect(0, 0, 10000, 10000, Cell.FLAGS, text) - line_spacing = 5 + line_spacing = 2 side_margin = Cell.SIDE_MARGIN self.rows = [] ypos = line_spacing + (1 if self.is_first else 0)