mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
toolkit doesn't elide list items on osx, so don't limit size
This commit is contained in:
parent
ebbf32b750
commit
5d41329e34
1 changed files with 3 additions and 2 deletions
|
@ -431,8 +431,9 @@ class EditDeck(QMainWindow):
|
||||||
self.reverseOrder)
|
self.reverseOrder)
|
||||||
|
|
||||||
def drawTags(self):
|
def drawTags(self):
|
||||||
self.dialog.tagList.view().setFixedWidth(200)
|
|
||||||
self.dialog.tagList.setMaxVisibleItems(30)
|
self.dialog.tagList.setMaxVisibleItems(30)
|
||||||
|
if not sys.platform.startswith("darwin"):
|
||||||
|
self.dialog.tagList.view().setFixedWidth(130)
|
||||||
self.dialog.tagList.setFixedWidth(130)
|
self.dialog.tagList.setFixedWidth(130)
|
||||||
self.dialog.tagList.clear()
|
self.dialog.tagList.clear()
|
||||||
alltags = [None, "Marked", None, None, "Leech", None, None]
|
alltags = [None, "Marked", None, None, "Leech", None, None]
|
||||||
|
|
Loading…
Reference in a new issue