Fix toolbar size issue related to Donate button on OS X.

This commit is contained in:
John Schember 2011-04-17 11:18:41 -04:00
parent f747483f3d
commit 4d9c24a0eb

View File

@ -401,6 +401,8 @@ class ToolBar(BaseToolBar): # {{{
self.d_widget.layout().addWidget(self.donate_button)
if isosx:
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.layout().addWidget(self.d_widget.filler)
bar.addWidget(self.d_widget)