Changeset 70c5d490 in sasview
- Timestamp:
- Jun 19, 2016 12:34:03 PM (9 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:
- 1941e6a
- Parents:
- 6dd6e32
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/model_editor.py
rbb841ef r70c5d490 719 719 Do the layout for parameter related widgets 720 720 """ 721 param_txt = wx.StaticText(self, -1, 'Fit Parameters (if any): ') 722 723 param_tip = "#Set the parameters and initial values.\n" 721 param_txt = wx.StaticText(self, -1, 'Fit Parameters NOT requiring' + \ 722 ' polydispersity (if any): ') 723 724 param_tip = "#Set the parameters NOT requiring polydispersity " + \ 725 "and their initial values.\n" 724 726 param_tip += "#Example:\n" 725 727 param_tip += "A = 1\nB = 1" … … 736 738 737 739 # Parameters with polydispersity 738 pd_param_txt = wx.StaticText(self, -1, 'Fit Parameters requiring polydispersity (if any): ') 739 740 pd_param_tip = "#Set the parameters and initial values.\n" 740 pd_param_txt = wx.StaticText(self, -1, 'Fit Parameters requiring ' + \ 741 'polydispersity (if any): ') 742 743 pd_param_tip = "#Set the parameters requiring polydispersity and " + \ 744 "their initial values.\n" 741 745 pd_param_tip += "#Example:\n" 742 746 pd_param_tip += "C = 2\nD = 2" … … 803 807 self.bt_close.SetToolTipString("Close this panel.") 804 808 805 self.button_sizer.AddMany([(self.bt_apply, 0, 806 wx.LEFT, EDITOR_WIDTH * 0.8), 807 (self.bt_help, 0, 808 wx.LEFT,15), 809 (self.bt_close, 0, 810 wx.LEFT | wx.BOTTOM, 15)]) 809 self.button_sizer.AddMany([(self.bt_apply, 0,0), 810 (self.bt_help, 0, wx.LEFT | wx.BOTTOM,15), 811 (self.bt_close, 0, wx.LEFT | wx.RIGHT, 15)]) 811 812 812 813 def _do_layout(self): … … 835 836 wx.ALL | wx.EXPAND, 5), 836 837 (self.msg_sizer, 0, wx.EXPAND | wx.ALL, 5), 837 (self.button_sizer, 0, wx. EXPAND | wx.ALL, 5)])838 (self.button_sizer, 0, wx.ALIGN_RIGHT)]) 838 839 self.SetSizer(self.main_sizer) 839 840 self.SetAutoLayout(True)
Note: See TracChangeset
for help on using the changeset viewer.