Fix #7392 (Minor border layout changes.)

This commit is contained in:
Kovid Goyal 2010-11-04 14:19:33 -06:00
parent e3fb323d86
commit 3e1d0e3da4
2 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,7 @@ class SearchBar(QWidget): # {{{
QWidget.__init__(self, parent) QWidget.__init__(self, parent)
self._layout = l = QHBoxLayout() self._layout = l = QHBoxLayout()
self.setLayout(self._layout) self.setLayout(self._layout)
self._layout.setContentsMargins(0,5,0,0)
x = ComboBoxWithHelp(self) x = ComboBoxWithHelp(self)
x.setMaximumSize(QSize(150, 16777215)) x.setMaximumSize(QSize(150, 16777215))

View File

@ -861,6 +861,7 @@ class TagBrowserWidget(QWidget): # {{{
QWidget.__init__(self, parent) QWidget.__init__(self, parent)
self._layout = QVBoxLayout() self._layout = QVBoxLayout()
self.setLayout(self._layout) self.setLayout(self._layout)
self._layout.setContentsMargins(0,0,0,0)
parent.tags_view = TagsView(parent) parent.tags_view = TagsView(parent)
self._layout.addWidget(parent.tags_view) self._layout.addWidget(parent.tags_view)