소스 검색

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

Anna Petrasova 4 년 전
부모
커밋
6dbc2d77cd
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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: