fix: Fix the rich text display on the About page

This commit is contained in:
loner
2025-11-21 22:14:57 +08:00
parent fe40758d4e
commit a39fbb5639
2 changed files with 3 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ ColumnLayout {
property string label: ""
property string description: ""
property bool enableDescriptionRichText: false
spacing: Style.marginXXS
Layout.fillWidth: true
@@ -27,5 +28,6 @@ ColumnLayout {
wrapMode: Text.WordWrap
Layout.fillWidth: true
visible: root.description !== ""
richTextEnabled: root.enableDescriptionRichText
}
}