Changeset 3e1177d in sasview for sansguiframe/src/sans
- Timestamp:
- Apr 27, 2012 12:35:19 PM (13 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:
- 3184d964
- Parents:
- 507c68f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_processor.py
r3553ad2 r3e1177d 780 780 (wx.StaticLine(self, -1), 0, wx.EXPAND, 0), 781 781 (self.plotting_sizer), 782 (self.button_sizer )])782 (self.button_sizer, 0, wx.BOTTOM, 10)]) 783 783 self.parent = parent 784 784 self._data_inputs = data_inputs … … 1077 1077 Draw area containing options to plot 1078 1078 """ 1079 1079 view_description = wx.StaticBox(self, -1, 'Plot Fits/Residuals') 1080 note = "To plot the fits (or residuals), click the 'View Fits' button" 1081 note += "\n after highlighting the Data names (or Chi2 values)." 1082 note_text = wx.StaticText(self, -1, note) 1083 boxsizer1 = wx.StaticBoxSizer(view_description, wx.HORIZONTAL) 1080 1084 self.x_axis_title = wx.TextCtrl(self, -1) 1081 1085 self.y_axis_title = wx.TextCtrl(self, -1) … … 1101 1105 plot_tip = "Highlight a column for each axis and \n" 1102 1106 plot_tip += "click the Add buttons first." 1107 1103 1108 self.plot_button.SetToolTipString(plot_tip) 1104 self.button_sizer.AddMany( [ (500, 30), 1105 (self.view_button, 0, wx.RIGHT|wx.BOTTOM, 10), 1106 (self.plot_button, 0, wx.RIGHT|wx.BOTTOM, 10)]) 1109 boxsizer1.AddMany([(note_text, 0, wx.LEFT, 10), 1110 (self.view_button, 0, wx.LEFT|wx.RIGHT, 10)]) 1111 self.button_sizer.AddMany([(boxsizer1, 0, 1112 wx.LEFT|wx.RIGHT|wx.BOTTOM, 10), 1113 (self.plot_button, 0, 1114 wx.LEFT|wx.TOP|wx.BOTTOM|wx.EXPAND, 12)]) 1107 1115 1108 1116 wx.EVT_BUTTON(self, self.plot_button.GetId(), self.on_plot)
Note: See TracChangeset
for help on using the changeset viewer.