Changeset f1b0f70 in sasview for invariantview/perspectives/invariant
- Timestamp:
- Apr 14, 2010 3:24:50 PM (15 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:
- 2012eae
- Parents:
- 355b684
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/perspectives/invariant/invariant_panel.py
r355b684 rf1b0f70 55 55 CENTER_PANE = True 56 56 def __init__(self, parent, data=None, manager=None,*args, **kwds): 57 kwds["s ize"]=(PANEL_WIDTH, PANEL_HEIGHT)57 kwds["style"]= wx.FULL_REPAINT_ON_RESIZE 58 58 ScrolledPanel.__init__(self, parent=parent, *args, **kwds) 59 59 #Font size … … 85 85 flag = True 86 86 msg = "Invariant: one of your q-values is zero. Delete that entry before proceeding" 87 self.hint_msg_txt.SetLabel(msg) 87 88 wx.PostEvent(self.parent, StatusEvent(status= msg, type="stop")) 89 self.hint_msg_txt.SetLabel('') 88 90 return flag 89 91 … … 102 104 self.data_min_tcl.SetLabel(str(data_qmin)) 103 105 self.data_max_tcl.SetLabel(str(data_qmax)) 104 self.hint_msg_txt.SetLabel('')105 106 self.reset_panel() 106 107 self.compute_invariant(event=None)
Note: See TracChangeset
for help on using the changeset viewer.