Adding bottom borders to dialogs
This commit is contained in:
parent
4be92a07e3
commit
d8534d1e0d
3 changed files with 25 additions and 5 deletions
|
@ -132,8 +132,6 @@ Button {
|
|||
color: sysPalette.windowText
|
||||
}
|
||||
|
||||
//text: content
|
||||
|
||||
ToolTip.visible: hovered
|
||||
ToolTip.delay: 200
|
||||
ToolTip.text: content
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue