Commit 4cf409cc authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Round timeline delegate headers

To match Kirigami's AbstractCard background
parent 7e5cbed2
......@@ -21,6 +21,7 @@ Kirigami.AbstractCard {
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
color: Kirigami.Theme.backgroundColor
radius: Kirigami.Units.smallSpacing
implicitHeight: headerLayout.implicitHeight + Kirigami.Units.largeSpacing * 2
anchors.leftMargin: -root.leftPadding
anchors.topMargin: -root.topPadding
......
......@@ -52,6 +52,7 @@ Kirigami.AbstractCard {
id: headerBackground
Kirigami.Theme.colorSet: controller.isCurrent ? Kirigami.Theme.Selection : Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
radius: Kirigami.Units.smallSpacing
color: {
if (controller.connectionWarning)
return Kirigami.Theme.negativeTextColor;
......
......@@ -22,6 +22,7 @@ Kirigami.AbstractCard {
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
color: Kirigami.Theme.backgroundColor
radius: Kirigami.Units.smallSpacing
implicitHeight: headerLayout.implicitHeight + Kirigami.Units.largeSpacing * 2
anchors.leftMargin: -root.leftPadding
anchors.topMargin: -root.topPadding
......
......@@ -27,6 +27,7 @@ Kirigami.AbstractCard {
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
color: Kirigami.Theme.backgroundColor
radius: Kirigami.Units.smallSpacing
implicitHeight: headerLayout.implicitHeight + Kirigami.Units.largeSpacing * 2
anchors.leftMargin: -root.leftPadding
anchors.topMargin: -root.topPadding
......
......@@ -23,6 +23,7 @@ Kirigami.AbstractCard {
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
color: Kirigami.Theme.backgroundColor
radius: Kirigami.Units.smallSpacing
implicitWidth: icon.implicitWidth + Kirigami.Units.largeSpacing * 2
Layout.minimumHeight: implicitWidth
Layout.fillHeight: true
......
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