mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
AppFwk : TextEditor : Make it possible to disable size hint
This commit is contained in:
parent
dce728a4a2
commit
0747325b42
@ -149,7 +149,10 @@ void PdmUiTextEditor::configureAndUpdateUi(const QString& uiConfigName)
|
||||
m_textEdit->setWordWrapMode(toQTextOptionWrapMode(leab.wrapMode));
|
||||
|
||||
m_textEdit->setFont(leab.font);
|
||||
m_textEdit->setHeightHint(leab.heightHint);
|
||||
if (leab.heightHint > 0)
|
||||
{
|
||||
m_textEdit->setHeightHint(leab.heightHint);
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user