mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Live CSS: Tighten the line spacing between properties
This commit is contained in:
parent
dec4720fb6
commit
0ddded708e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user