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 869e2fe9b9)
This commit is contained in:
Joel A. Kulesza 2018-01-24 23:09:46 -07:00 committed by Scott Kostyshak
parent 1eceb1c574
commit d25762da35
2 changed files with 4 additions and 0 deletions

View 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()));

View 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