1
0

qml: some styling fixes

This commit is contained in:
Sander van Grieken
2022-11-11 16:46:24 +01:00
parent 725a05643e
commit 37b4352c29
3 changed files with 7 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ Pane {
GridLayout {
id: summaryLayout
Layout.fillWidth: true
Layout.preferredWidth: parent.width
Layout.topMargin: constants.paddingLarge
Layout.leftMargin: constants.paddingLarge
Layout.rightMargin: constants.paddingLarge

View File

@@ -33,6 +33,7 @@ Item {
property color colorError: '#ffff8080'
property color colorLightningLocal: "blue"
property color colorLightningRemote: "yellow"
property color colorChannelOpen: "#ff80ff80"
property color colorPiechartOnchain: Qt.darker(Material.accentColor, 1.50)
property color colorPiechartFrozen: 'gray'

View File

@@ -68,7 +68,11 @@ ItemDelegate {
Label {
text: model.state
color: _closed ? constants.mutedForeground : Material.foreground
color: _closed
? constants.mutedForeground
: model.state == 'OPEN'
? constants.colorChannelOpen
: Material.foreground
}
}