Changeset df58ecab in sasview


Ignore:
Timestamp:
May 18, 2011 6:23:20 PM (14 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:
55a3257
Parents:
d64dfd2
Message:

change size of combobox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_panel.py

    rc6f2291 rdf58ecab  
    271271        self.bt_import.SetToolTipString("Send set of Data to active perspective") 
    272272        wx.EVT_BUTTON(self, self.bt_import.GetId(), self.on_import) 
    273         self.perspective_cbox = wx.ComboBox(self, -1, size=(CBOX_WIDTH, -1), 
     273        self.perspective_cbox = wx.ComboBox(self, -1, 
    274274                                style=wx.CB_READONLY) 
     275        #self.perspective_cbox.SetMinSize((CBOX_WIDTH, -1)) 
    275276        wx.EVT_COMBOBOX(self.perspective_cbox,-1,  
    276277                        self._on_perspective_selection) 
     
    296297        wx.EVT_BUTTON(self, self.bt_close_plot.GetId(), self.on_close_plot) 
    297298        
    298         self.cb_plotpanel = wx.ComboBox(self, -1, size=(CBOX_WIDTH, -1), 
     299        self.cb_plotpanel = wx.ComboBox(self, -1,  
    299300                                style=wx.CB_READONLY|wx.CB_SORT) 
     301        #self.cb_plotpanel.SetMinSize((CBOX_WIDTH, -1)) 
    300302        wx.EVT_COMBOBOX(self.cb_plotpanel,-1, self._on_plot_selection) 
    301303        self.cb_plotpanel.Disable() 
     
    306308                             ((10, 10)), 
    307309                             (self.bt_import, 0, wx.EXPAND|wx.RIGHT, 5), 
    308                               (self.perspective_cbox, wx.EXPAND), 
     310                              (self.perspective_cbox, wx.EXPAND|wx.ADJUST_MINSIZE, 5), 
    309311                              (self.bt_append_plot), 
    310                               (self.cb_plotpanel, wx.EXPAND), 
     312                              (self.cb_plotpanel, wx.EXPAND|wx.ADJUST_MINSIZE, 5), 
    311313                              (self.bt_plot), 
    312314                              ((10, 10)), 
Note: See TracChangeset for help on using the changeset viewer.