Changeset e0d1504 in sasview


Ignore:
Timestamp:
May 23, 2011 6:27:41 PM (14 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:
b05ce33
Parents:
d9982fb
Message:

fixing size of panel name box

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_toolbar.py

    rd9982fb re0d1504  
    1111if sys.platform.count("darwin")==0: 
    1212    FONT_VARIANT = 0 
     13    NAME_BOX = wx.DefaultSize 
    1314    IS_MAC = False 
    1415else: 
    1516    FONT_VARIANT = 1 
     17    NAME_BOX = (250, 25) 
    1618    IS_MAC = True 
    1719 
     
    124126        self.button_panel = wx.StaticText(self, -1, 'No Panel',  
    125127                                          wx.DefaultPosition,  
    126                                           wx.DefaultSize, 
     128                                          NAME_BOX, 
    127129                                          style=wx.SUNKEN_BORDER|wx.ALIGN_LEFT) 
    128130        #self.button_panel.SetForegroundColour('black') 
Note: See TracChangeset for help on using the changeset viewer.