mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix height of 'more' dropdown in deck browser on win32 when using alt theme
This commit is contained in:
parent
6c6473762f
commit
c5ff8111a9
1 changed files with 3 additions and 0 deletions
3
ankiqt/ui/main.py
Normal file → Executable file
3
ankiqt/ui/main.py
Normal file → Executable file
|
@ -1135,6 +1135,9 @@ your deck."""))
|
||||||
moreButton = QComboBox()
|
moreButton = QComboBox()
|
||||||
if sys.platform.startswith("darwin"):
|
if sys.platform.startswith("darwin"):
|
||||||
moreButton.setFixedWidth(80)
|
moreButton.setFixedWidth(80)
|
||||||
|
if sys.platform.startswith("win32") and \
|
||||||
|
self.config['alternativeTheme']:
|
||||||
|
moreButton.setFixedHeight(24)
|
||||||
moreButton.addItems(QStringList([
|
moreButton.addItems(QStringList([
|
||||||
_("More"),
|
_("More"),
|
||||||
_("Forget"),
|
_("Forget"),
|
||||||
|
|
Loading…
Reference in a new issue