fix height of 'more' dropdown in deck browser on win32 when using alt theme

This commit is contained in:
Samson Melamed 2009-06-08 14:21:22 -04:00
parent 6c6473762f
commit c5ff8111a9

3
ankiqt/ui/main.py Normal file → Executable file
View file

@ -1135,6 +1135,9 @@ your deck."""))
moreButton = QComboBox()
if sys.platform.startswith("darwin"):
moreButton.setFixedWidth(80)
if sys.platform.startswith("win32") and \
self.config['alternativeTheme']:
moreButton.setFixedHeight(24)
moreButton.addItems(QStringList([
_("More"),
_("Forget"),