Commit ca1949cc authored by Volker Krause's avatar Volker Krause

Respect field text alignments

parent 9ee18e48
......@@ -146,8 +146,10 @@ Item {
Repeater {
model: pass.auxiliaryFields
delegate: QQC2.Label {
Layout.fillWidth: true
color: pass.labelColor
text: modelData.label
horizontalAlignment: modelData.textAlignment
}
}
Repeater {
......@@ -156,6 +158,7 @@ Item {
Layout.fillWidth: true
color: pass.foregroundColor
text: modelData.value
horizontalAlignment: modelData.textAlignment
}
}
}
......@@ -173,13 +176,16 @@ Item {
Layout.fillWidth: true
color: pass.labelColor
text: modelData.label
horizontalAlignment: modelData.textAlignment
}
}
Repeater {
model: pass.secondaryFields
delegate: QQC2.Label {
Layout.fillWidth: true
color: pass.foregroundColor
text: modelData.value
horizontalAlignment: modelData.textAlignment
}
}
}
......
Markdown is supported
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