mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
just set minimum width instead, since this will work on osx
This commit is contained in:
parent
0e2bcfc173
commit
b2a7d81519
1 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue