Changeset f1aa385 in sasview for sansview/welcome_panel.py
- Timestamp:
- Nov 10, 2009 4:32:28 PM (15 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/welcome_panel.py
rea2aa224 rf1aa385 15 15 import wx.lib.hyperlink 16 16 import os.path 17 import os 18 17 import os, sys 19 18 import local_config as config 20 19 20 #Font size width 21 if sys.platform.count("win32")>0: 22 FONT_VARIANT = 0 23 else: 24 FONT_VARIANT = 1 25 21 26 class WelcomePanel(wx.Panel): 22 27 """ … … 30 35 ## Flag to tell the AUI manager to put this panel in the center pane 31 36 CENTER_PANE = True 37 32 38 33 39 def __init__(self, *args, **kwds): … … 39 45 image = os.path.join("images","SVwelcome.png") 40 46 47 self.SetWindowVariant(variant = FONT_VARIANT) 41 48 self.bitmap_logo = wx.StaticBitmap(self, -1, wx.Bitmap(image)) 42 49
Note: See TracChangeset
for help on using the changeset viewer.