]> git.lyx.org Git - lyx.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>
Mon, 9 Apr 2018 04:48:29 +0000 (00:48 -0400)
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

index 825e786e25e69d821e7528df48972d6a2facdb20..d05629568e604d8aed627ebe3e9ef7e7c0a0cbb9 100644 (file)
@@ -556,6 +556,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()));