Adding bottom borders to dialogs

This commit is contained in:
Adsooi 2023-05-22 09:31:43 +02:00
parent 4be92a07e3
commit d8534d1e0d
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
3 changed files with 25 additions and 5 deletions

View file

@ -132,8 +132,6 @@ Button {
color: sysPalette.windowText
}
//text: content
ToolTip.visible: hovered
ToolTip.delay: 200
ToolTip.text: content

View file

@ -74,12 +74,23 @@ Popup {
}
}
Rectangle {
id: bottomSeparator
opacity: 0.3
color: sysPalette.windowText
width: parent.width * 2 / 3
height: 1
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: doneBtn.top
anchors.bottomMargin: 7
}
Button {
id: doneBtn
text: qsTr("Done")
font.pixelSize: 18
anchors.bottom: parent.bottom
anchors.bottomMargin: 10
anchors.bottomMargin: 7
anchors.horizontalCenter: parent.horizontalCenter
onClicked: changelogPopup.close()
}

View file

@ -188,10 +188,21 @@ Popup {
}
}
Rectangle {
id: bottomSeparator
opacity: 0.3
color: sysPalette.windowText
width: parent.width * 2 / 3
height: 1
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: bottomButtons.top
anchors.bottomMargin: 9
}
Row {
id: bottomButtons
anchors.bottom: parent.bottom
anchors.bottomMargin: 10
anchors.bottomMargin: 7
spacing: 10
anchors.horizontalCenter: parent.horizontalCenter