فهرست منبع

wxGUI/gui_core: fix preferences dialog rendered height on wxPython 4.1.1 (#1825)

In cases where a scrolled panel is used.
Tomas Zigo 3 سال پیش
والد
کامیت
9b95bc1217
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      gui/wxpython/gui_core/preferences.py

+ 0 - 1
gui/wxpython/gui_core/preferences.py

@@ -140,7 +140,6 @@ class PreferencesBaseDialog(wx.Dialog):
         mainSizer.Add(btnStdSizer, proportion=0, flag=wx.EXPAND | wx.ALL, border=5)
 
         self.SetSizer(mainSizer)
-        mainSizer.Fit(self)
 
     def OnDefault(self, event):
         """Button 'Set to default' pressed"""