Require textFormat declaration for all Text elements.

This commit is contained in:
Erik Melton committed 2026-08-26 16:14:51 +02:00
1 parent 9301092404
commit 3af7675a10
42 files changed
+386 -1

No files matched your search

+4
View File
@@ -11,6 +11,10 @@ Text {
property string fontFamily: Style.font.family
property real fontSize: Style.font.caption
// Callers bind `text` from outside this file, so the default has to be set
// here. AutoText would let a section title that happens to carry a device or
// network name promote itself to rich text.
textFormat: Text.PlainText
color: Qt.darker(foreground, 1.4)
font.family: fontFamily
font.pixelSize: fontSize