Changeset 3ddf082 in sasview for sansguiframe/src/sans/guiframe


Ignore:
Timestamp:
Sep 21, 2012 1:55:52 PM (12 years ago)
Author:
Jae Cho <jhjcho@…>
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:
2facdb0
Parents:
8e24480
Message:

This fixes the frozen category dialog sizers on MAC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/CategoryManager.py

    r8e24480 r3ddf082  
    363363        :param current_cats: List of categories applied to current model 
    364364        """ 
    365         wx.Dialog.__init__(self, parent, title = title, size=(480, 420)) 
     365        wx.Dialog.__init__(self, parent, title = title, size=(485, 425)) 
    366366 
    367367        self.current_cats = current_cats 
     
    370370             
    371371        vbox = wx.BoxSizer(wx.VERTICAL) 
     372        self.add_sb = wx.StaticBox(self, label = "Add Category") 
     373        self.add_sb_sizer = wx.StaticBoxSizer(self.add_sb, wx.VERTICAL) 
    372374        gs = wx.GridSizer(3, 2, 5, 5) 
    373  
    374375        self.cat_list = cat_list 
    375376         
     
    384385                                       size=(220,-1), choices = cat_list) 
    385386        self.exist_combo.SetSelection(0) 
    386  
    387         self.add_sb = wx.StaticBox(self, label = "Add Category") 
    388         self.add_sb_sizer = wx.StaticBoxSizer(self.add_sb, wx.VERTICAL) 
     387         
     388         
    389389        self.remove_sb = wx.StaticBox(self, label = "Remove Category") 
     390         
    390391        self.remove_sb_sizer = wx.StaticBoxSizer(self.remove_sb,  
    391392                                                 wx.VERTICAL) 
     
    402403        self.existing_check.SetValue(True) 
    403404 
    404          
    405405        vbox.Add(self.cat_text, flag = wx.LEFT | wx.TOP | wx.ALIGN_LEFT,  
    406406                 border = 10) 
    407407        vbox.Add(self.current_categories, flag = wx.ALL | wx.EXPAND,  
    408408                 border = 10  ) 
    409  
    410          
    411409 
    412410        gs.AddMany( [ (self.existing_check, 5, wx.ALL), 
Note: See TracChangeset for help on using the changeset viewer.