qml: some styling fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user