mirror of
https://github.com/QuasarApp/Credits.git
synced 2025-04-26 01:34:38 +00:00
fix view
This commit is contained in:
parent
9730af1d09
commit
4047a28785
@ -39,7 +39,6 @@ ColumnLayout {
|
||||
text: modelData.text
|
||||
Layout.fillWidth: true
|
||||
horizontalAlignment: (modelData.align)? modelData.align : horizontalAlignment
|
||||
color: (modelData.color && modelData.color.length)? modelData.color: color
|
||||
wrapMode: Text.WordWrap
|
||||
|
||||
textFormat: TextEdit.MarkdownText
|
||||
@ -54,6 +53,13 @@ ColumnLayout {
|
||||
lableSource.ToolTip.hide()
|
||||
}
|
||||
}
|
||||
|
||||
property string colorPrivate: (modelData.color && modelData.color.length)? modelData.color: ""
|
||||
onColorPrivateChanged: {
|
||||
if (colorPrivate && colorPrivate.length) {
|
||||
lableSource.color = colorPrivate
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user