Changeset da87bce in sasview
- Timestamp:
- Mar 24, 2010 6:18:46 PM (15 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:
- 2f189dc
- Parents:
- a0a4486
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/perspectives/invariant/invariant_details.py
rd3fac18 rda87bce 32 32 """ 33 33 def __init__(self, parent=None, id=-1, qstar_container=None, title="", 34 size=(PANEL_WIDTH +100, 450)):34 size=(PANEL_WIDTH, 450)): 35 35 wx.Dialog.__init__(self, parent, id=id, title=title, size=size) 36 36 … … 68 68 chart_box = wx.StaticBox(self, -1, "Invariant Chart") 69 69 self.chart_sizer = wx.StaticBoxSizer(chart_box, wx.VERTICAL) 70 self.chart_sizer.SetMinSize((PANEL_WIDTH ,-1))70 self.chart_sizer.SetMinSize((PANEL_WIDTH - 50,-1)) 71 71 #Sizer related to invariant values 72 72 self.invariant_sizer = wx.GridBagSizer(4, 4) … … 74 74 warning_box = wx.StaticBox(self, -1, "Warning") 75 75 self.warning_sizer = wx.StaticBoxSizer(warning_box, wx.VERTICAL) 76 self.warning_sizer.SetMinSize((PANEL_WIDTH ,-1))76 self.warning_sizer.SetMinSize((PANEL_WIDTH-50,-1)) 77 77 #Sizer related to button 78 78 self.button_sizer = wx.BoxSizer(wx.HORIZONTAL) … … 184 184 button_ok.SetToolTipString("Give Details on Computation") 185 185 self.Bind(wx.EVT_BUTTON, self.on_close, id=id) 186 self.button_sizer.AddMany([((20,20), 0 , wx.LEFT, 400),186 self.button_sizer.AddMany([((20,20), 0 , wx.LEFT, 350), 187 187 (button_ok, 0 , wx.RIGHT, 10)]) 188 188 def _do_layout(self): … … 361 361 class InvariantDetailsTest(wx.Frame): 362 362 def __init__(self, parent, qstar_container=None, *args, **kwds): 363 kwds["size"]= (PANEL_WIDTH +100, 450)363 kwds["size"]= (PANEL_WIDTH , 450) 364 364 wx.Frame.__init__(self, parent, *args, **kwds) 365 365 self.container = qstar_container
Note: See TracChangeset
for help on using the changeset viewer.