Qml/ModPage: add a separator at the bottom of the header
Also removed the one pixed gap cause it made it look odd
This commit is contained in:
parent
b3b1c7b4c6
commit
2f715e196c
1 changed files with 8 additions and 2 deletions
|
|
@ -18,9 +18,10 @@ Kirigami.Page {
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
id: header
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
// Leave a one pixel gap for the header separator
|
|
||||||
Layout.topMargin: 1 - root.topPadding
|
Layout.topMargin: -root.topPadding
|
||||||
Layout.leftMargin: -root.leftPadding
|
Layout.leftMargin: -root.leftPadding
|
||||||
Layout.rightMargin: -root.rightPadding
|
Layout.rightMargin: -root.rightPadding
|
||||||
|
|
||||||
|
|
@ -39,6 +40,11 @@ Kirigami.Page {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Kirigami.Separator {
|
||||||
|
width: header.width
|
||||||
|
anchors.top: header.bottom
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue