mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
smaller font properties dialog
This commit is contained in:
parent
81991673cb
commit
5d038b759b
3 changed files with 455 additions and 530 deletions
|
@ -48,7 +48,7 @@ class Config(dict):
|
||||||
'interfaceLang': "",
|
'interfaceLang': "",
|
||||||
'syncUsername': "",
|
'syncUsername': "",
|
||||||
'syncPassword': "",
|
'syncPassword': "",
|
||||||
'showFontPreview': True,
|
'showFontPreview': False,
|
||||||
'showToolbar': True,
|
'showToolbar': True,
|
||||||
'recentDeckPaths': [],
|
'recentDeckPaths': [],
|
||||||
'saveAfterAnswer': True,
|
'saveAfterAnswer': True,
|
||||||
|
|
|
@ -68,8 +68,7 @@ class DisplayProperties(QDialog):
|
||||||
self.main.config['showFontPreview'] = True
|
self.main.config['showFontPreview'] = True
|
||||||
else:
|
else:
|
||||||
self.dialog.previewGroup.hide()
|
self.dialog.previewGroup.hide()
|
||||||
self.setMinimumWidth(350)
|
self.setFixedWidth(340)
|
||||||
self.setMaximumWidth(350)
|
|
||||||
self.main.config['showFontPreview'] = False
|
self.main.config['showFontPreview'] = False
|
||||||
|
|
||||||
def setupCards(self):
|
def setupCards(self):
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue