Changeset da87bce in sasview


Ignore:
Timestamp:
Mar 24, 2010 6:18:46 PM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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
Message:

reduce size of panel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • invariantview/perspectives/invariant/invariant_details.py

    rd3fac18 rda87bce  
    3232    """ 
    3333    def __init__(self, parent=None, id=-1, qstar_container=None, title="", 
    34                  size=(PANEL_WIDTH +100, 450)): 
     34                 size=(PANEL_WIDTH, 450)): 
    3535        wx.Dialog.__init__(self, parent, id=id, title=title, size=size) 
    3636        
     
    6868        chart_box = wx.StaticBox(self, -1, "Invariant Chart") 
    6969        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)) 
    7171        #Sizer related to invariant values 
    7272        self.invariant_sizer =  wx.GridBagSizer(4, 4) 
     
    7474        warning_box = wx.StaticBox(self, -1, "Warning") 
    7575        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)) 
    7777        #Sizer related to button 
    7878        self.button_sizer = wx.BoxSizer(wx.HORIZONTAL) 
     
    184184        button_ok.SetToolTipString("Give Details on Computation") 
    185185        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), 
    187187                                   (button_ok, 0 , wx.RIGHT, 10)]) 
    188188    def _do_layout(self): 
     
    361361class InvariantDetailsTest(wx.Frame): 
    362362    def __init__(self, parent, qstar_container=None, *args, **kwds): 
    363         kwds["size"]= (PANEL_WIDTH +100, 450) 
     363        kwds["size"]= (PANEL_WIDTH , 450) 
    364364        wx.Frame.__init__(self, parent, *args, **kwds) 
    365365        self.container = qstar_container 
Note: See TracChangeset for help on using the changeset viewer.