Ignore:
Timestamp:
Aug 18, 2017 11:08:55 AM (7 years ago)
Author:
Celine Durniak <celine.durniak@…>
Branches:
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
Children:
464cd07
Parents:
0e4d87c
Message:

Corrected bugs in display of new GUI (angstrom, size of line edit)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Calculators/GenericScatteringCalculator.py

    rb0c5e8c r457d961  
    106106        # TODO the option Ellipsoid has not been implemented 
    107107        self.cbShape.currentIndexChanged.connect(self.selectedshapechange) 
     108 
     109        # New font to display angstrom symbol 
     110        new_font = 'font-family: -apple-system, "Helvetica Neue", "Ubuntu";' 
     111        self.lblUnitSolventSLD.setStyleSheet(new_font) 
     112        self.lblUnitVolume.setStyleSheet(new_font) 
     113        self.lbl5.setStyleSheet(new_font) 
     114        self.lblUnitMx.setStyleSheet(new_font) 
     115        self.lblUnitMy.setStyleSheet(new_font) 
     116        self.lblUnitMz.setStyleSheet(new_font) 
     117        self.lblUnitNucl.setStyleSheet(new_font) 
     118        self.lblUnitx.setStyleSheet(new_font) 
     119        self.lblUnity.setStyleSheet(new_font) 
     120        self.lblUnitz.setStyleSheet(new_font) 
    108121 
    109122    def selectedshapechange(self): 
Note: See TracChangeset for help on using the changeset viewer.