Changeset ea5692d in sasview


Ignore:
Timestamp:
Feb 23, 2011 4:50:39 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
59b9b675
Parents:
59a4a750
Message:

edit data panel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_panel.py

    r0bab10b rea5692d  
    135135                    nb_active_perspective += 1 
    136136                if nb_active_perspective == 1: 
    137                     rb = wx.RadioButton(self, -1, perspective_name, style=wx.RB_GROUP) 
     137                    rb = wx.RadioButton(self, -1, perspective_name, 
     138                                        style=wx.RB_GROUP) 
    138139                    rb.SetToolTipString("Data will be applied to this perspective") 
    139140                    rb.SetValue(is_active) 
     
    275276        self.tree_ctrl.Bind(CT.EVT_TREE_ITEM_CHECKED, self.on_check_item) 
    276277        self.tree_ctrl.Bind(CT.EVT_TREE_ITEM_RIGHT_CLICK, self.on_right_click) 
    277         self.sizer1.Add(self.tree_ctrl,1, wx.EXPAND|wx.ALL, 20) 
     278        label = wx.StaticText(self, -1, "LOADED DATA") 
     279        label.SetForegroundColour('blue') 
     280        self.sizer1.Add(label, 0, wx.LEFT, 10) 
     281        self.sizer1.Add(self.tree_ctrl,1, wx.EXPAND|wx.ALL, 10) 
    278282 
    279283    def on_right_click(self, event): 
Note: See TracChangeset for help on using the changeset viewer.