Changeset 7e44299 in sasview


Ignore:
Timestamp:
Apr 5, 2014 10:37:54 AM (11 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:
164d64f
Parents:
1d4e2e7
Message:

Fix FTOL dialog size

Location:
src/sans
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sans/guiframe/gui_statusbar.py

    r1d4e2e7 r7e44299  
    135135        self.status_color = wx.StaticText(self, id=wx.NewId(), label="   ") 
    136136        self.status_color.SetBackgroundColour(GREEN) 
     137        self.status_color.SetForegroundColour(GREEN) 
    137138 
    138139        # Create the button used to show the console dialog 
     
    213214        self.list_msg.append(text) 
    214215        self.status_color.SetBackgroundColour(GREEN) 
     216        self.status_color.SetForegroundColour(GREEN) 
    215217 
    216218        if self.frame is not None : 
     
    296298        if msg == "warning": 
    297299            self.status_color.SetBackgroundColour(YELLOW) 
     300            self.status_color.SetForegroundColour(YELLOW) 
    298301        elif msg == "error": 
    299302            self.status_color.SetBackgroundColour(RED) 
     303            self.status_color.SetForegroundColour(RED) 
    300304        else: 
    301305            self.status_color.SetBackgroundColour(GREEN) 
     306            self.status_color.SetForegroundColour(GREEN) 
    302307     
    303308    def set_dialog(self, event): 
  • src/sans/perspectives/fitting/ftol_dialog.py

    r767514a r7e44299  
    1919SANS_F_TOL = 5e-05 
    2020 
     21PANEL_HEIGHT = 265 
     22FONT_VARIANT = 0 
    2123if sys.platform.count("win32") > 0: 
    2224    PANEL_WIDTH = 270 
    23     PANEL_HEIGHT = 265 
    24     FONT_VARIANT = 0 
    2525else: 
    2626    PANEL_WIDTH = 285 
    27     PANEL_HEIGHT = 265 
    28     FONT_VARIANT = 1 
    29      
    3027     
    3128class ChangeFtol(wx.Dialog): 
Note: See TracChangeset for help on using the changeset viewer.