1
0

font sizes, accent colors

This commit is contained in:
Sander van Grieken
2022-05-06 10:29:30 +02:00
parent 81435f431c
commit 00430d674e
3 changed files with 17 additions and 2 deletions

View File

@@ -93,10 +93,10 @@ Pane {
}
Label {
font.pixelSize: constants.fontSizeLarge
Layout.fillWidth: true
font.pixelSize: model.label !== '' ? constants.fontSizeLarge : constants.fontSizeMedium
text: model.label !== '' ? model.label : '<no label>'
color: model.label !== '' ? Material.accentColor : 'gray'
color: model.label !== '' ? Material.foreground : 'gray'
wrapMode: Text.Wrap
maximumLineCount: 2
elide: Text.ElideRight
@@ -117,6 +117,7 @@ Pane {
Label {
font.pixelSize: constants.fontSizeSmall
text: model.date
color: Material.accentColor
}
Label {
id: fiatLabel