mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
ASCII import dialog. Use monospace font in preview widget
This commit is contained in:
@@ -124,6 +124,8 @@ void PdmUiTextEditor::configureAndUpdateUi(const QString& uiConfigName)
|
||||
m_textEdit->blockSignals(false);
|
||||
|
||||
m_textEdit->setWordWrapMode(toQTextOptionWrapMode(leab.wrapMode));
|
||||
|
||||
m_textEdit->setFont(leab.font);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -80,6 +80,7 @@ public:
|
||||
TextMode textMode;
|
||||
bool showSaveButton;
|
||||
WrapMode wrapMode;
|
||||
QFont font;
|
||||
};
|
||||
|
||||
//==================================================================================================
|
||||
|
||||
Reference in New Issue
Block a user