Changeset 506bca3 in sasview
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/gpu_options.py
r1b061a31 r506bca3 25 25 wx.Dialog.__init__(self, parent, title=title) 26 26 27 self.panel = wx.Panel(self, -1) 28 self.static_box = wx.StaticBox(self.panel, -1, "OpenCL test completed!") 27 self.static_box = wx.StaticBox(self, -1, "OpenCL test completed!") 29 28 self.boxsizer = wx.BoxSizer(orient=wx.VERTICAL) 30 29 31 self.text = wx.TextCtrl(self, -1, size=(500, 400),30 self.text = wx.TextCtrl(self, -1, size=(500, 300), 32 31 style=wx.TE_MULTILINE|wx.TE_READONLY) 33 32 self.text.SetValue(msg) 34 33 self.text.SetBackgroundColour(self.GetBackgroundColour()) 35 34 self.text.SetFocus() 35 self.text.SetInsertionPoint(self.text.GetLastPosition()) 36 36 self.boxsizer.Add(self.text, proportion=1, flag=wx.EXPAND) 37 37 … … 39 39 self.fit_hsizer.Add(self.boxsizer, 0, wx.ALL, 5) 40 40 41 self.panel.SetSizer(self.fit_hsizer)42 43 41 self.vbox = wx.BoxSizer(wx.VERTICAL) 44 self.vbox.Add(self. panel, 0, wx.ALL, 10)42 self.vbox.Add(self.fit_hsizer, 0, wx.ALL, 10) 45 43 46 44 self.message_text = wx.StaticText(self, -1, "If tests fail on OpenCL devices, "
Note: See TracChangeset
for help on using the changeset viewer.