From 4ada913c515cf090c65d9d155aa9880a50501591 Mon Sep 17 00:00:00 2001 From: Saturneric Date: Mon, 12 Jul 2021 17:03:12 +0800 Subject: Project structure adjustment; Project configuration adjustment; Add version detection; UI interface improvements; Introduce JSON processing library; Update Documents; --- src/ui/widgets/EditorPage.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ui/widgets/EditorPage.cpp') diff --git a/src/ui/widgets/EditorPage.cpp b/src/ui/widgets/EditorPage.cpp index 8a51b721..05d5cbea 100644 --- a/src/ui/widgets/EditorPage.cpp +++ b/src/ui/widgets/EditorPage.cpp @@ -42,6 +42,9 @@ EditorPage::EditorPage(QString filePath, QWidget *parent) : QWidget(parent), setAttribute(Qt::WA_DeleteOnClose); textPage->setFocus(); + // Front in same width + this->setFont({"Courier"}); + connect(textPage, SIGNAL(textChanged()), this, SLOT(formatGpgHeader())); } -- cgit v1.2.3