From 869e2fe9b9e5a6966665e1d82da0555ed03a2b5e Mon Sep 17 00:00:00 2001 From: "Joel A. Kulesza" Date: Wed, 24 Jan 2018 23:09:46 -0700 Subject: [PATCH] Changed Settings->Local Layout to FixedWidth & Nowrap This change is made in response to Ticket 10992. The change made is consistent with those captured in Ticket 9966. --- src/frontends/qt4/GuiDocument.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 825e786e25..d05629568e 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -556,6 +556,8 @@ void PreambleModule::closeEvent(QCloseEvent * e) LocalLayout::LocalLayout(QWidget * parent) : UiWidget(parent), current_id_(0), validated_(false) { + locallayoutTE->setFont(guiApp->typewriterSystemFont()); + locallayoutTE->setWordWrapMode(QTextOption::NoWrap); connect(locallayoutTE, SIGNAL(textChanged()), this, SLOT(textChanged())); connect(validatePB, SIGNAL(clicked()), this, SLOT(validatePressed())); connect(convertPB, SIGNAL(clicked()), this, SLOT(convertPressed()));