just set minimum width instead, since this will work on osx

This commit is contained in:
Damien Elmes 2010-12-08 16:54:03 +09:00
parent 0e2bcfc173
commit b2a7d81519

View file

@ -434,11 +434,8 @@ class EditDeck(QMainWindow):
def drawTags(self): def drawTags(self):
self.dialog.tagList.setMaxVisibleItems(30) self.dialog.tagList.setMaxVisibleItems(30)
if not sys.platform.startswith("darwin"): self.dialog.tagList.view().setMinimumWidth(200)
self.dialog.tagList.view().setFixedWidth(200) self.dialog.tagList.setFixedWidth(170)
self.dialog.tagList.setFixedWidth(130)
else:
self.dialog.tagList.setFixedWidth(200)
self.dialog.tagList.clear() self.dialog.tagList.clear()
alltags = [None, "Marked", None, None, "Leech", None, None] alltags = [None, "Marked", None, None, "Leech", None, None]
# system tags # system tags