From d8534d1e0d7eb2662d1a92231ea2494a24a9ec3c Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Mon, 22 May 2023 09:31:43 +0200 Subject: [PATCH] Adding bottom borders to dialogs --- .../LogarithmPlotter/History/HistoryItem.qml | 2 -- .../ad5001/LogarithmPlotter/Popup/Changelog.qml | 13 ++++++++++++- .../ad5001/LogarithmPlotter/Popup/GreetScreen.qml | 15 +++++++++++++-- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/History/HistoryItem.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/History/HistoryItem.qml index bb4b60b..67a7431 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/History/HistoryItem.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/History/HistoryItem.qml @@ -132,8 +132,6 @@ Button { color: sysPalette.windowText } - //text: content - ToolTip.visible: hovered ToolTip.delay: 200 ToolTip.text: content diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/Changelog.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/Changelog.qml index b7efb83..0288b8a 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/Changelog.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/Changelog.qml @@ -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() } diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/GreetScreen.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/GreetScreen.qml index e9ae5f1..b3aa12b 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/GreetScreen.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/GreetScreen.qml @@ -187,11 +187,22 @@ 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