Changeset 0d54b58 in sasview for guiframe


Ignore:
Timestamp:
May 10, 2011 4:05:45 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:
49a2aa71
Parents:
0c26793
Message:

resize tool_bar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_toolbar.py

    rfadf925 r0d54b58  
    1111if sys.platform.count("darwin")==0: 
    1212    FONT_VARIANT = 0 
     13    IS_MAC = False 
    1314else: 
    1415    FONT_VARIANT = 1 
    15      
     16    IS_MAC = True 
    1617 
    1718def clear_image(image): 
     
    4445        """ 
    4546        """ 
    46         tbar_size = (20, 15) 
     47        t_size = 20 
     48        if IS_MAC: 
     49            t_size = 25         
     50             
     51        tbar_size = (t_size, t_size) 
    4752        button_type =  wx.ITEM_NORMAL 
    4853 
Note: See TracChangeset for help on using the changeset viewer.