Changeset 18ec684 in sasview for guiframe/gui_manager.py


Ignore:
Timestamp:
Feb 14, 2011 5:10:37 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:
9590db6
Parents:
4e4d3bb
Message:

working on guiframe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    r4e4d3bb r18ec684  
    341341        style = self.__gui_style & (GUIFRAME.MANAGER_ON) 
    342342        if self._data_panel is not None  and (p == self._data_panel): 
    343             panel_width_min = self._window_width * 2/25  
     343            panel_width_min = self._window_width * 5/25  
    344344            return panel_width_min, panel_height_min 
    345345        if hasattr(p, "CENTER_PANE") and p.CENTER_PANE: 
    346346            style = self.__gui_style & (GUIFRAME.PLOTTING_ON|GUIFRAME.MANAGER_ON) 
    347347            if style == (GUIFRAME.PLOTTING_ON|GUIFRAME.MANAGER_ON): 
    348                 panel_width_min = self._window_width * 17/25  
     348                panel_width_min = self._window_width * 15/25  
    349349            return panel_width_min, panel_height_min 
    350350        return panel_width_min, panel_height_min 
     
    386386                              Left(). 
    387387                              MinimizeButton(). 
    388                               MinSize(wx.Size(w, h)). 
     388                              TopDockable(False). 
     389                              BottomDockable(False). 
     390                              LeftDockable(True). 
     391                              RightDockable(False). 
     392                              BestSize(wx.Size(w, h)). 
    389393                              Hide()) 
    390394        style = self.__gui_style & GUIFRAME.MANAGER_ON 
     
    13111315                self._data_panel.load_data_list(data_state) 
    13121316                 
    1313     def delete_data(self, data_id, theory_id=None, delete_all=True): 
     1317    def remove_data(self, data_id, theory_id=None, delete_all=True): 
    13141318        """ 
    13151319        Delete data state if data_id is provide 
Note: See TracChangeset for help on using the changeset viewer.