1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-03-10 05:34:36 +00:00

Fixed pref window UI on Windows.

This commit is contained in:
Virgil Dupras 2011-01-27 10:11:23 +00:00
parent 0aa91b170c
commit a88519b814

View File

@ -88,6 +88,8 @@ class PreferencesDialog(PreferencesDialogBase):
# Under linux, whether it's a Qt layout bug or something else, the size threshold text edit # Under linux, whether it's a Qt layout bug or something else, the size threshold text edit
# doesn't have enough space, so we make the pref pane higher to compensate. # doesn't have enough space, so we make the pref pane higher to compensate.
self.resize(self.width(), 480) self.resize(self.width(), 480)
elif sys.platform == 'win32':
self.resize(self.width(), 420)
def _load(self, prefs, setchecked): def _load(self, prefs, setchecked):
scan_type_index = SCAN_TYPE_ORDER.index(prefs.scan_type) scan_type_index = SCAN_TYPE_ORDER.index(prefs.scan_type)