mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
add custom button size for osx
This commit is contained in:
parent
677fb7e7ae
commit
558caa8947
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ class AnkiQt(QMainWindow):
|
|||
lambda: self.mainWin.noticeFrame.setShown(False))
|
||||
if sys.platform.startswith("win32"):
|
||||
self.mainWin.noticeButton.setFixedWidth(24)
|
||||
elif sys.platform.startswith("darwin"):
|
||||
self.mainWin.noticeButton.setFixedWidth(20)
|
||||
self.mainWin.noticeButton.setFixedHeight(20)
|
||||
|
||||
def setNotice(self, str):
|
||||
self.mainWin.noticeLabel.setText(str)
|
||||
|
|
Loading…
Reference in a new issue