From: Joel A. Kulesza Date: Thu, 25 Jan 2018 06:09:46 +0000 (-0700) Subject: Changed Settings->Local Layout to FixedWidth & Nowrap X-Git-Tag: lyx-2.4.0dev-acb2ca7b~3641 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=869e2fe9b9e5a6966665e1d82da0555ed03a2b5e;p=lyx.git 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. --- 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()));