Changeset 755ecb0 in sasview for src/sas/sasgui/perspectives/fitting/gpu_options.py
- Timestamp:
- Jan 10, 2017 8:52:36 AM (8 years ago)
- Children:
- 4cb58ce
- Parents:
- 55b935e
- git-author:
- wpotrzebowski <Wojciech.Potrzebowski@…> (01/10/17 08:45:44)
- git-committer:
- wpotrzebowski <Wojciech.Potrzebowski@…> (01/10/17 08:52:36)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/gpu_options.py
r55b935e r755ecb0 26 26 self.text = wx.TextCtrl(self, -1, size=(500, 400), 27 27 style=wx.TE_MULTILINE|wx.TE_READONLY 28 |wx.SUNKEN_BORDER |wx.HSCROLL)28 |wx.SUNKEN_BORDER) 29 29 self.text.SetValue(msg) 30 30 self.text.SetBackgroundColour(self.GetBackgroundColour()) 31 31 self.text.SetFocus() 32 32 self.boxsizer.Add(self.text, proportion=1, flag=wx.EXPAND) 33 33 … … 43 43 "please select No OpenCL option.\n\n" 44 44 "In case of large number of failing tests, " 45 "please consider sending above\n" 46 "report to help@sasview.org.") 47 48 self.message_text.SetFont(wx.Font(10, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "")) 45 "please consider sending\n" 46 "above report to help@sasview.org.") 47 49 48 self.vbox.Add(self.message_text, 0, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 10) 50 49 … … 60 59 self.vbox.Fit(self) 61 60 62 self. Centre()61 self.SetAutoLayout(True) 63 62 self.ShowModal() 64 63 self.Destroy() … … 136 135 137 136 test_text = wx.StaticText(self, -1,"WARNING: Running tests can take a few minutes!") 138 test_text.SetFont(wx.Font(10, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, ""))139 137 self.vbox.Add(test_text, 0, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 10) 140 138
Note: See TracChangeset
for help on using the changeset viewer.