Live CSS: Tighten the line spacing between properties

This commit is contained in:
Kovid Goyal 2014-05-24 18:04:18 +05:30
parent dec4720fb6
commit 0ddded708e

View File

@ -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)