Browse Source

wxGUI/About: remove hardcoded white background for dark mode (#1215)

Anna Petrasova 4 năm trước cách đây
mục cha
commit
6dbc2d77cd
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      gui/wxpython/gui_core/ghelp.py

+ 0 - 3
gui/wxpython/gui_core/ghelp.py

@@ -128,7 +128,6 @@ class AboutWindow(wx.Frame):
             sys.stderr.write(_("Unable to get GRASS version\n"))
 
         infoTxt = ScrolledPanel(self.aboutNotebook)
-        infoTxt.SetBackgroundColour('WHITE')
         infoTxt.SetupScrolling()
         infoSizer = wx.BoxSizer(wx.VERTICAL)
         infoGridSizer = wx.GridBagSizer(vgap=5, hgap=5)
@@ -460,7 +459,6 @@ class AboutWindow(wx.Frame):
             translators = None
 
         translatorswin = ScrolledPanel(self.aboutNotebook)
-        translatorswin.SetBackgroundColour('WHITE')
         translatorswin.SetAutoLayout(True)
         translatorswin.SetupScrolling()
         translatorswin.sizer = wx.BoxSizer(wx.VERTICAL)
@@ -625,7 +623,6 @@ class AboutWindow(wx.Frame):
         else:
             jsStats = None
         self.statswin = ScrolledPanel(self.aboutNotebook)
-        self.statswin.SetBackgroundColour('WHITE')
         self.statswin.SetAutoLayout(True)
 
         if not jsStats: