[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:
@@ -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());
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user