aboutsummaryrefslogtreecommitdiffstats
path: root/gui/pythontab.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-19 15:17:10 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-19 15:17:34 +0200
commitb5c1b0907974b3c94794a75e84d6c374c3326c40 (patch)
tree46bdaaf65d844428a8959a3d8c0457024af35c51 /gui/pythontab.cc
parent3a505638a6d4d62023082d8719aa224f8d544ec0 (diff)
downloadnextpnr-b5c1b0907974b3c94794a75e84d6c374c3326c40.tar.gz
nextpnr-b5c1b0907974b3c94794a75e84d6c374c3326c40.tar.bz2
nextpnr-b5c1b0907974b3c94794a75e84d6c374c3326c40.zip
Small gui improvements and open json functionality
Diffstat (limited to 'gui/pythontab.cc')
-rw-r--r--gui/pythontab.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/pythontab.cc b/gui/pythontab.cc
index 1e827330..3764696e 100644
--- a/gui/pythontab.cc
+++ b/gui/pythontab.cc
@@ -11,9 +11,14 @@ PythonTab::PythonTab(QWidget *parent) : QWidget(parent)
plainTextEdit = new QPlainTextEdit();
plainTextEdit->setReadOnly(true);
plainTextEdit->setMinimumHeight(100);
+ QFont f("unexistent");
+ f.setStyleHint(QFont::Monospace);
+ plainTextEdit->setFont(f);
+
lineEdit = new QLineEdit();
lineEdit->setMinimumHeight(30);
lineEdit->setMaximumHeight(30);
+ lineEdit->setFont(f);
QGridLayout *mainLayout = new QGridLayout();
mainLayout->addWidget(plainTextEdit, 0, 0);