Changeset 88f286d in sasview
- Timestamp:
- May 24, 2011 4:29:55 PM (14 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:
- bc03f06
- Parents:
- 57b551e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
rc1e6400 r88f286d 39 39 """ 40 40 BasicPage.__init__(self, parent, color=color) 41 self.model_name_txt = None41 42 42 ## draw sizer 43 43 self._fill_datainfo_sizer() … … 422 422 sizer_data.Add(wx.StaticText(self, -1, 'Name : ')) 423 423 sizer_data.Add(self.dataSource ) 424 self.model_name_txt = wx.StaticText(self, -1, " [No model]", 425 style=wx.ALIGN_LEFT) 426 self.model_name_txt.SetForegroundColour('blue') 427 sizer_data.Add(self.model_name_txt) 424 sizer_data.Add( (0,5) ) 428 425 """ 429 426 #---------sizer 2 draw-------------------------------- … … 457 454 self.formfactorbox = None 458 455 self.multifactorbox = None 459 box_description= wx.StaticBox(self, -1,str(title))460 boxsizer1 = wx.StaticBoxSizer( box_description, wx.VERTICAL)461 456 self.mbox_description= wx.StaticBox(self, -1,str(title)) 457 boxsizer1 = wx.StaticBoxSizer(self.mbox_description, wx.VERTICAL) 458 462 459 id = wx.NewId() 463 460 self.model_help =wx.Button(self,id,'Details', size=(80,23)) … … 1084 1081 1085 1082 self._manager._on_model_panel(evt=evt) 1083 self.mbox_description.SetLabel("Model [%s]" % str(self.model.name)) 1086 1084 self.state.model = self.model.clone() 1087 1085 self.state.model.name = self.model.name 1088 if self.model_name_txt is not None: 1089 self.model_name_txt.SetLabel(" [%s]" % str(self.model.name)) 1090 self.model_name_txt.SetForegroundColour('blue') 1086 1091 1087 self._draw_model() 1092 1088 if event != None:
Note: See TracChangeset
for help on using the changeset viewer.