From d25762da35f594fde39091b14b560d26543202e5 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. (cherry picked from commit 869e2fe9b9e5a6966665e1d82da0555ed03a2b5e) --- src/frontends/qt4/GuiDocument.cpp | 2 ++ status.23x | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 0ff70a897c..38ce23f065 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -555,6 +555,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())); diff --git a/status.23x b/status.23x index cf7da01274..d85e56d0fb 100644 --- a/status.23x +++ b/status.23x @@ -80,6 +80,8 @@ What's new - Provide simple search functionality in preamble (bug 11099). +- Change Settings -> Local Layout to Fixed-width Font and Nowrap (bug 10992). + * DOCUMENTATION AND LOCALIZATION