Fix scroll rate in preference panel

This commit is contained in:
DarkPhoenix
2019-05-01 00:55:52 +03:00
parent dbef3b8c84
commit bdd4a8cfb7
4 changed files with 8 additions and 9 deletions

View File

@@ -57,7 +57,7 @@ class PreferenceDialog(wx.Dialog):
for prefView in PreferenceView.views:
page = wx.ScrolledWindow(self.listbook)
page.SetScrollbars(1, 1, 20, 20)
page.SetScrollRate(15, 15)
bmp = prefView.getImage()
if bmp:
imgID = self.imageList.Add(bmp)