Changeset f1aa385 in sasview for sansview/welcome_panel.py


Ignore:
Timestamp:
Nov 10, 2009 4:32:28 PM (15 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:
c69b6d5
Parents:
ffb838f
Message:

mac font sized changed for these panels: note:)textctrl still to go.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/welcome_panel.py

    rea2aa224 rf1aa385  
    1515import wx.lib.hyperlink 
    1616import os.path 
    17 import os 
    18  
     17import os, sys 
    1918import local_config as config 
    2019 
     20#Font size width  
     21if sys.platform.count("win32")>0: 
     22    FONT_VARIANT = 0 
     23else: 
     24    FONT_VARIANT = 1  
     25     
    2126class WelcomePanel(wx.Panel): 
    2227    """ 
     
    3035    ## Flag to tell the AUI manager to put this panel in the center pane 
    3136    CENTER_PANE = True 
     37    
    3238     
    3339    def __init__(self, *args, **kwds): 
     
    3945        image = os.path.join("images","SVwelcome.png") 
    4046         
     47        self.SetWindowVariant(variant = FONT_VARIANT) 
    4148        self.bitmap_logo = wx.StaticBitmap(self, -1, wx.Bitmap(image)) 
    4249        
Note: See TracChangeset for help on using the changeset viewer.