]> git.lyx.org Git - features.git/commitdiff
Changed Settings->Local Layout to FixedWidth & Nowrap
authorJoel A. Kulesza <jkulesza@gmail.com>
Thu, 25 Jan 2018 06:09:46 +0000 (23:09 -0700)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 10 Apr 2018 01:30:40 +0000 (21:30 -0400)
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
status.23x

index 0ff70a897cf549a7530c1196a38265d408258a2a..38ce23f065a89d04a4ad313b6eef418e9dd9f548 100644 (file)
@@ -555,6 +555,8 @@ void PreambleModule::closeEvent(QCloseEvent * e)
 LocalLayout::LocalLayout(QWidget * parent)
        : UiWidget<Ui::LocalLayoutUi>(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()));
index cf7da01274c9d47d82419795ad8f01a62277a888..d85e56d0fb27e159895d0ac111e356d0c6a93bd9 100644 (file)
@@ -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