Embiggen the preference pane window. Change text, and clean up some unused imports.

This commit is contained in:
Ebag333
2017-02-16 10:45:28 -08:00
parent 56f1e9ed3a
commit e8101f9410
4 changed files with 7 additions and 10 deletions

View File

@@ -66,12 +66,12 @@ class PreferenceDialog(wx.Dialog):
# Set the height based on a condition. Can all the panels fit in the current height?
# If not, use the .GetBestVirtualSize() to ensure that all content is available.
minHeight = 360
minHeight = 550
bestFit = self.GetBestVirtualSize()
if minHeight > bestFit[1]:
self.SetSizeWH(450, minHeight)
self.SetSizeWH(650, minHeight)
else:
self.SetSizeWH(450, bestFit[1])
self.SetSizeWH(650, bestFit[1])
self.Layout()