TechDraw: richannotation : Fix white text issue (#21515)

* TechDraw: richannotation : Fix white text issue

* Update QGIRichAnno.cpp
This commit is contained in:
PaddleStroke
2025-05-26 17:18:21 +02:00
committed by GitHub
parent 41111c5ee9
commit d013890bf6

View File

@@ -68,6 +68,7 @@ QGIRichAnno::QGIRichAnno() :
m_text = new QGCustomText();
m_text->setTextInteractionFlags(Qt::NoTextInteraction);
m_text->setDefaultTextColor(PreferencesGui::normalQColor());
addToGroup(m_text);
m_text->setZValue(ZVALUE::DIMENSION);
m_text->centerAt(0.0, 0.0);