mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix donate button causing toolbar to be too large on OS X
This commit is contained in:
commit
abd3c7d226
@ -401,6 +401,8 @@ class ToolBar(BaseToolBar): # {{{
|
|||||||
self.d_widget.layout().addWidget(self.donate_button)
|
self.d_widget.layout().addWidget(self.donate_button)
|
||||||
if isosx:
|
if isosx:
|
||||||
self.d_widget.setStyleSheet('QWidget, QToolButton {background-color: none; border: none; }')
|
self.d_widget.setStyleSheet('QWidget, QToolButton {background-color: none; border: none; }')
|
||||||
|
self.d_widget.layout().setContentsMargins(0,0,0,0)
|
||||||
|
self.d_widget.setContentsMargins(0,0,0,0)
|
||||||
self.d_widget.filler = QLabel(u'\u00a0')
|
self.d_widget.filler = QLabel(u'\u00a0')
|
||||||
self.d_widget.layout().addWidget(self.d_widget.filler)
|
self.d_widget.layout().addWidget(self.d_widget.filler)
|
||||||
bar.addWidget(self.d_widget)
|
bar.addWidget(self.d_widget)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user