Changeset 3e1177d in sasview


Ignore:
Timestamp:
Apr 27, 2012 12:35:19 PM (12 years ago)
Author:
Jae Cho <jhjcho@…>
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
Message:

added tip for viewfits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/data_processor.py

    r3553ad2 r3e1177d  
    780780                           (wx.StaticLine(self, -1), 0, wx.EXPAND, 0), 
    781781                           (self.plotting_sizer), 
    782                            (self.button_sizer)]) 
     782                           (self.button_sizer, 0, wx.BOTTOM, 10)]) 
    783783        self.parent = parent 
    784784        self._data_inputs = data_inputs 
     
    10771077        Draw area containing options to plot 
    10781078        """ 
    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) 
    10801084        self.x_axis_title = wx.TextCtrl(self, -1) 
    10811085        self.y_axis_title = wx.TextCtrl(self, -1) 
     
    11011105        plot_tip = "Highlight a column for each axis and \n" 
    11021106        plot_tip += "click the Add buttons first." 
     1107         
    11031108        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)]) 
    11071115         
    11081116        wx.EVT_BUTTON(self, self.plot_button.GetId(), self.on_plot) 
Note: See TracChangeset for help on using the changeset viewer.