[TD] set default text size for RichAnno dialog

see https://forum.freecadweb.org/viewtopic.php?f=35&t=42414&p=364965#p364965
This commit is contained in:
donovaly
2020-01-31 01:07:53 +01:00
committed by WandererFan
parent 7cdb5afe81
commit dc76b7fb5c
2 changed files with 4 additions and 1 deletions

View File

@@ -201,6 +201,9 @@ void TaskRichAnno::setUiPrimary()
ui->dsbWidth->setValue(prefWeight());
ui->cpFrameColor->setColor(prefLineColor().asValue<QColor>());
// set a default font size, use for this the preferences setting
MRichTextEdit mre;
ui->teAnnoText->setFontPointSize(mre.getDefFontSizeNum());
}