Compare commits

..

2 commits

Author SHA1 Message Date
20c1ed005e
Removing warning
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-22 09:49:20 +02:00
d8534d1e0d
Adding bottom borders to dialogs 2023-05-22 09:31:43 +02:00
4 changed files with 26 additions and 8 deletions

View file

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

View file

@ -61,8 +61,6 @@ Popup.BaseDialog {
minimumHeight: Math.max(450,dlgProperties.height + margin*4 + 30) minimumHeight: Math.max(450,dlgProperties.height + margin*4 + 30)
maximumHeight: minimumHeight maximumHeight: minimumHeight
// Disable closing on return/enter, causing issues with autocomplete.
// onActionChosen: if(action.key == Qt.Key_Enter || action.key == Qt.Key_Return) action.accepted = false
Item { Item {
anchors { anchors {
top: parent.top; top: parent.top;
@ -77,7 +75,7 @@ Popup.BaseDialog {
Column { Column {
id: dlgProperties id: dlgProperties
anchors.top: dlgTitle.bottom anchors.top: parent.top
width: objEditor.width - 20 width: objEditor.width - 20
spacing: 10 spacing: 10

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 { Button {
id: doneBtn id: doneBtn
text: qsTr("Done") text: qsTr("Done")
font.pixelSize: 18 font.pixelSize: 18
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.bottomMargin: 10 anchors.bottomMargin: 7
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
onClicked: changelogPopup.close() 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 { Row {
id: bottomButtons id: bottomButtons
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.bottomMargin: 10 anchors.bottomMargin: 7
spacing: 10 spacing: 10
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter