Changeset 2f4b430 in sasview for src/sas/perspectives/fitting/hint_fitpage.py
- Timestamp:
- Mar 4, 2015 3:39:45 PM (10 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 74f419d
- Parents:
- 2f732b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/fitting/hint_fitpage.py
r79492222 r2f4b430 13 13 ## Title to appear on top of the window 14 14 window_caption = "Hint page " 15 15 16 16 def __init__(self, parent): 17 17 wx.ScrolledWindow.__init__(self, parent, 18 style =wx.FULL_REPAINT_ON_RESIZE)18 style=wx.FULL_REPAINT_ON_RESIZE) 19 19 PanelBase.__init__(self, parent) 20 20 msg = "right click on the data when it is highlighted " 21 21 msg += "the select option to fit for futher options" 22 22 self.do_layout() 23 23 24 24 def do_layout(self): 25 25 """ … … 27 27 """ 28 28 name = "Hint" 29 box_description = wx.StaticBox(self, -1, name)29 box_description = wx.StaticBox(self, -1, name) 30 30 boxsizer = wx.StaticBoxSizer(box_description, wx.VERTICAL) 31 31 msg = " How to link data to the control panel: \n \n" … … 34 34 msg += " Finally, select 'Select data for fitting' in the pop-up menu. \n" 35 35 self.hint_txt = wx.StaticText(self, -1, msg, style=wx.ALIGN_LEFT) 36 boxsizer.Add(self.hint_txt, wx.ALL |wx.EXPAND, 20)36 boxsizer.Add(self.hint_txt, wx.ALL | wx.EXPAND, 20) 37 37 self.vbox = wx.BoxSizer(wx.VERTICAL) 38 38 self.vbox.Add(boxsizer) … … 42 42 self.SetScrollbars(20, 20, 25, 65) 43 43 self.Layout() 44 44 45 45 def createMemento(self): 46 46 return 47 48 47 48 49 49 class HelpWindow(wx.Frame): 50 50 def __init__(self, parent, id, title): 51 51 wx.Frame.__init__(self, parent, id, title, size=(570, 400)) 52 52 53 53 self.page = HintFitPage(self) 54 54 self.Centre()
Note: See TracChangeset
for help on using the changeset viewer.