Ted Console Font?

Monkey Forums/Monkey Programming/Ted Console Font?

nullterm(Posted 2015) [#1]
Is there a way to change Ted's console font? Just doing some debug output and it'd be helpful to have a fixed width font for some grid-like output. I can change the editor font, but not output.


dawlane(Posted 2015) [#2]
Is there a way to change Ted's console font?
Not without editing the Ted source code and rebuilding.
Quick and dirty.
Add this
_consoleTextWidget->setFont(QFont("Courier",8));
after
_consoleTextWidget=new QTextEdit;
near line 127 in mainwindow.cpp
It would require more for this to be changed via a dialogue.


dawlane(Posted 2015) [#3]
Oh and here is something that is a little more fun
_consoleTextWidget->setStyleSheet("QTextEdit {font-family:Courier; font-size: 8pt; font-weight: bold;}");



Richard Betson(Posted 2015) [#4]
I would like to see Ted include an option to change the console font and colors. Us dark theme guys could use that option . ;)