mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2025-12-06 06:36:15 +00:00
fix: Fix the rich text display on the About page
This commit is contained in:
@@ -146,6 +146,7 @@ ColumnLayout {
|
|||||||
}) : I18n.tr("settings.about.contributors.section.description_plural", {
|
}) : I18n.tr("settings.about.contributors.section.description_plural", {
|
||||||
"count": root.contributors.length
|
"count": root.contributors.length
|
||||||
})
|
})
|
||||||
|
enableDescriptionRichText: true
|
||||||
}
|
}
|
||||||
|
|
||||||
GridView {
|
GridView {
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ ColumnLayout {
|
|||||||
|
|
||||||
property string label: ""
|
property string label: ""
|
||||||
property string description: ""
|
property string description: ""
|
||||||
|
property bool enableDescriptionRichText: false
|
||||||
|
|
||||||
spacing: Style.marginXXS
|
spacing: Style.marginXXS
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
@@ -27,5 +28,6 @@ ColumnLayout {
|
|||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
visible: root.description !== ""
|
visible: root.description !== ""
|
||||||
|
richTextEnabled: root.enableDescriptionRichText
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user