Commit b4084880 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Support text alignment also for backFields

Got an event ticket which had that set to "centered",
displays correctly now.
parent a779d044
......@@ -214,12 +214,14 @@ Item {
color: pass.labelColor
text: modelData.label
wrapMode: Text.WordWrap
horizontalAlignment: modelData.textAlignment
}
QQC2.Label {
Layout.fillWidth: true
color: pass.foregroundColor
text: Util.textToHtml(modelData.valueDisplayString)
wrapMode: Text.WordWrap
horizontalAlignment: modelData.textAlignment
onLinkActivated: Qt.openUrlExternally(link)
}
}
......
......@@ -214,12 +214,14 @@ Item {
color: pass.labelColor
text: modelData.label
wrapMode: Text.WordWrap
horizontalAlignment: modelData.textAlignment
}
QQC2.Label {
Layout.fillWidth: true
color: pass.foregroundColor
text: Util.textToHtml(modelData.valueDisplayString)
wrapMode: Text.WordWrap
horizontalAlignment: modelData.textAlignment
onLinkActivated: Qt.openUrlExternally(link)
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment