Changeset 88e7d08 in sasview for guitools/PropertyDialog.py
- Timestamp:
- Apr 15, 2008 3:48:58 PM (16 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:
- dfca3de
- Parents:
- 831149e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guitools/PropertyDialog.py
r831149e r88e7d08 7 7 class Properties(wx.Dialog): 8 8 def __init__(self, parent, id, title): 9 wx.Dialog.__init__(self, parent, id, title, size=(3 00, 200))9 wx.Dialog.__init__(self, parent, id, title, size=(350, 200)) 10 10 """ 11 11 for the properties window … … 32 32 sizer.Add( self.yvalue,(iy, ix)) 33 33 ix +=2 34 view =wx.ComboBox(panel, -1, size=(60, -1))35 sizer.Add( view,(iy,ix))34 self.view =wx.ComboBox(panel, -1) 35 sizer.Add(self.view,(iy,ix)) 36 36 ix =3 37 37 iy +=3 … … 61 61 self.yvalue.Insert("ln(y*x^(4))",8) 62 62 63 # type of view or model used 64 self.view.SetValue("Guinier lny vs x^(2)") 65 self.view.Insert("Guinier lny vs x^(2)",0) 63 66 panel.SetSizer(sizer) 64 67 self.SetSizer(vbox)
Note: See TracChangeset
for help on using the changeset viewer.