Changeset c1e6400 in sasview
- Timestamp:
- May 24, 2011 3:22:50 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:
- a4ffc36
- Parents:
- 8e33400
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r8e33400 rc1e6400 39 39 """ 40 40 BasicPage.__init__(self, parent, color=color) 41 41 self.model_name_txt = None 42 42 ## draw sizer 43 43 self._fill_datainfo_sizer() … … 420 420 #self.dataSource.SetEditable(False) 421 421 self.dataSource.SetMinSize((_DATA_BOX_WIDTH, -1)) 422 sizer_data.Add(wx.StaticText(self, -1, ' Data: '))422 sizer_data.Add(wx.StaticText(self, -1, 'Name : ')) 423 423 sizer_data.Add(self.dataSource ) 424 sizer_data.Add( (0,5) ) 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) 425 428 """ 426 429 #---------sizer 2 draw-------------------------------- … … 1083 1086 self.state.model = self.model.clone() 1084 1087 self.state.model.name = self.model.name 1085 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 self._draw_model() 1087 1092 if event != None:
Note: See TracChangeset
for help on using the changeset viewer.