Ignore:
Timestamp:
Jun 25, 2018 11:58:51 AM (6 years ago)
Author:
krzywon
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
Children:
0863065
Parents:
8a51dea0
Message:

Change error boxes to match style of other non-modifiable boxes in fitting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/fitpage.py

    r8a51dea0 rdabcaf7  
    706706 
    707707                        ix = 3 
    708                         ctl2 = wx.TextCtrl(self, wx.ID_ANY, 
    709                                            size=(_BOX_WIDTH / 1.3, 20), 
    710                                            style=wx.TE_READONLY) 
     708                        ctl2 = BGTextCtrl(self, wx.ID_ANY, 
     709                                           size=(_BOX_WIDTH / 1.3, 20)) 
    711710 
    712711                        self.sizer4_4.Add(ctl2, (iy, ix), (1, 1), 
     
    28932892                        text2.Hide() 
    28942893                    ix += 1 
    2895                     ctl2 = wx.TextCtrl(self, wx.ID_ANY, 
    2896                                        size=(_BOX_WIDTH / 1.2, 20), 
    2897                                        style=wx.TE_READONLY) 
     2894                    ctl2 = BGTextCtrl(self, wx.ID_ANY, 
     2895                                       size=(_BOX_WIDTH / 1.2, 20)) 
    28982896                    sizer.Add(ctl2, (iy, ix), (1, 1), 
    28992897                              wx.EXPAND | wx.ADJUST_MINSIZE, 0) 
Note: See TracChangeset for help on using the changeset viewer.