Wed, 29 Aug 2012 15:32:08 +0200
Added code to set fixed width font on Mac platforms.
ProjectPyramid/PyramidDialog.py | file | annotate | diff | comparison | revisions |
--- a/ProjectPyramid/PyramidDialog.py Wed Aug 29 11:25:01 2012 +0200 +++ b/ProjectPyramid/PyramidDialog.py Wed Aug 29 15:32:08 2012 +0200 @@ -17,7 +17,7 @@ from .Ui_PyramidDialog import Ui_PyramidDialog import Preferences -from Globals import isWindowsPlatform +from Globals import isWindowsPlatform, isMacPlatform class PyramidDialog(QDialog, Ui_PyramidDialog): @@ -60,6 +60,8 @@ if fixed: if isWindowsPlatform(): self.resultbox.setFontFamily("Lucida Console") + elif isMacPlatform(): + self.resultbox.setFontFamily("Menlo") else: self.resultbox.setFontFamily("Monospace")