Changeset aaaf9b4 in sasview for calculatorview/src


Ignore:
Timestamp:
Dec 19, 2012 9:56:14 AM (12 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:
5ebdf14
Parents:
9714ff5
Message:

mac: shape combobox problem fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/src/sans/perspectives/calculator/gen_scatter_panel.py

    r9714ff5 raaaf9b4  
    4949    FONT_VARIANT = 0 
    5050else: 
    51     PANEL_WIDTH = 600 
    52     PANEL_HEIGHT = 420 
     51    PANEL_WIDTH = 620 
     52    PANEL_HEIGHT = 370 
    5353    FONT_VARIANT = 1 
    5454_QMAX_DEFAULT = 0.1 
     
    251251        """ 
    252252        hint_msg = "We support the omf or sld data files only." 
    253         hint_msg +=  "           " 
    254         hint_msg +=  "Very slow drawing -->" 
     253        hint_msg +=  "         " 
     254        if FONT_VARIANT < 1: 
     255            hint_msg +=  "Very " 
     256        hint_msg += "SLOW drawing -->" 
    255257        hint_txt = wx.StaticText(self, -1, hint_msg) 
    256258         
     
    291293        """ 
    292294        event.Skip() 
    293         label = self.shape_combo.GetLabel().lower()  
     295        label = event.GetEventObject().GetValue().lower()  
    294296        self.default_shape = label 
    295297        self.parent.set_omfpanel_default_shap(self.default_shape) 
     
    618620                pos_z, ',', c="k",  
    619621                alpha=0.5, markeredgecolor='k', markersize=3)  
    620  
     622        ax.plot_surface(pos_x, pos_y, pos_z,  rstride=4, cstride=4, color='b') 
    621623        if has_arrow and len(pos_x) > 0:      
    622624            graph_title += "w/ Arrows"  
Note: See TracChangeset for help on using the changeset viewer.