Changeset 355b684 in sasview
- Timestamp:
- Apr 14, 2010 5:14:32 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:
- f1b0f70
- Parents:
- 2f6c260
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/perspectives/invariant/invariant_panel.py
rb7f29fc r355b684 34 34 if sys.platform.count("win32")>0: 35 35 _STATICBOX_WIDTH = 450 36 PANEL_WIDTH = 500 36 PANEL_WIDTH = 500 37 37 PANEL_HEIGHT = 700 38 38 FONT_VARIANT = 0 … … 54 54 ## Flag to tell the AUI manager to put this panel in the center pane 55 55 CENTER_PANE = True 56 def __init__(self, parent, data=None, manager=None): 57 ScrolledPanel.__init__(self, parent) 56 def __init__(self, parent, data=None, manager=None,*args, **kwds): 57 kwds["size"]=(PANEL_WIDTH, PANEL_HEIGHT) 58 ScrolledPanel.__init__(self, parent=parent, *args, **kwds) 58 59 #Font size 59 60 self.SetWindowVariant(variant=FONT_VARIANT) … … 961 962 self._layout_outputs_sizer() 962 963 self._layout_button() 963 self.main_sizer.AddMany([(self.data_name_boxsizer, 1, wx.ALL, 10),964 self.main_sizer.AddMany([(self.data_name_boxsizer,0, wx.ALL, 10), 964 965 (self.outputs_sizer, 0, 965 966 wx.LEFT|wx.RIGHT|wx.BOTTOM, 10), 966 (self.button_sizer, 967 (self.button_sizer,0, 967 968 wx.LEFT|wx.RIGHT|wx.BOTTOM, 10), 968 969 (self.inputs_sizer, 0, … … 971 972 wx.LEFT|wx.RIGHT|wx.BOTTOM, 10)]) 972 973 self.SetSizer(self.main_sizer) 973 #self.SetAutoLayout(True)974 self.SetAutoLayout(True) 974 975 975 976 class InvariantDialog(wx.Dialog):
Note: See TracChangeset
for help on using the changeset viewer.