This commit is contained in:
Kovid Goyal 2015-11-25 11:13:42 +05:30
parent 7e1770c204
commit 74d02ee2a8

View File

@ -61,7 +61,7 @@ class TopBar:
left = bar.firstChild left = bar.firstChild
clear(left) clear(left)
left.appendChild(E.a(title=tooltip, E.i(class_='fa fa-' + icon_name + ' fa-fw'))) left.appendChild(E.a(title=tooltip, E.i(class_='fa fa-' + icon_name + ' fa-fw')))
left.appendChild(E.span(title, style=str.format('margin-left: {0}; font-weight: bold; padding-top: {1}; padding-bottom: {1}', self.SPACING, self.VSPACING))) left.appendChild(E.span(title, style=str.format('margin-left: {0}; font-weight: bold; padding-top: {1}; padding-bottom: {1}; vertical-align: middle', self.SPACING, self.VSPACING)))
if bar is self.bar: if bar is self.bar:
a = left.firstChild a = left.firstChild
if icon_name == 'heart': if icon_name == 'heart':