Ignore:
Timestamp:
Aug 14, 2018 9:40:46 AM (6 years ago)
Author:
Torin Cooper-Bennun <torin.cooper-bennun@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
4bf58293, 04ac604
Parents:
328f2ef
Message:

standardise monospace font for code editors, QT console

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Utilities/ModelEditor.py

    r26970b3 r3933ee9  
    33 
    44from sas.qtgui.Utilities.UI.ModelEditor import Ui_ModelEditor 
     5from sas.qtgui.Utilities import GuiUtils 
    56 
    67class ModelEditor(QtWidgets.QDialog, Ui_ModelEditor): 
     
    3031        self.highlight = PythonHighlighter(self.txtEditor.document()) 
    3132 
     33        self.txtEditor.setFont(GuiUtils.getMonospaceFont()) 
     34 
    3235    def addSignals(self): 
    3336        """ 
Note: See TracChangeset for help on using the changeset viewer.