Changeset 6ab0ad1 in sasview


Ignore:
Timestamp:
Sep 11, 2009 4:47:54 PM (15 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
72a05d0
Parents:
7ad6ff5
Message:

guiframe: reduce best size for plot windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    rf9e803e r6ab0ad1  
    2121import os, sys 
    2222import xml 
    23 from xml import xpath 
    2423try: 
    2524    # Try to find a local config 
     
    471470                          # Use a large best size to make sure the AUI manager 
    472471                          # takes all the available space 
    473                           BestSize(wx.Size(1300,1300))) 
    474                           #MinSize(wx.Size(500,500))) 
    475                           #BestSize(wx.Size(400,400)). 
    476                           #MinSize(wx.Size(350,350))) 
     472                          BestSize(wx.Size(400,400))) 
    477473        pane = self._mgr.GetPane(windowname) 
    478474        self._mgr.MaximizePane(pane) 
     
    732728            import aboutbox  
    733729            dialog = aboutbox.DialogAbout(None, -1, "") 
    734             dialog.ShowModal() 
    735              
    736              
    737     def _saveOpenData(self): 
    738         """ 
    739             Savename and path of n opened data  into as xml file 
    740         """ 
    741         try: 
    742             fd = open("fileOpened.xml",'r') 
    743             from xml.dom.minidom import parse 
    744             dom = parse(fd) 
    745             ## Check the format version number 
    746             nodes = xpath.Evaluate('file Path\File', dom) 
    747             print "node",nodes 
    748             if nodes[0].hasAttributes(): 
    749                 print "--->" 
    750             fd.close() 
    751         except: 
    752             raise 
    753         
    754         
    755          
     730            dialog.ShowModal()             
     731             
    756732    def _onreloaFile(self, event):   
    757733        """ 
Note: See TracChangeset for help on using the changeset viewer.