diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-10-06 19:23:00 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-23 21:51:19 +0100 |
commit | 49755a3271a19ab8e441406c7095e283a2d6241e (patch) | |
tree | d9ac87dc8d772e4d65f173c6c2bc2a77e10620de /gui/components/StatusBox.qml | |
parent | 94d6694a7b91f3ea5a8649f13a68a907e2bc95f3 (diff) |
[ui] pointing hand for locations and buttons
Diffstat (limited to 'gui/components/StatusBox.qml')
-rw-r--r-- | gui/components/StatusBox.qml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gui/components/StatusBox.qml b/gui/components/StatusBox.qml index 15eef2e..17132ea 100644 --- a/gui/components/StatusBox.qml +++ b/gui/components/StatusBox.qml @@ -1,4 +1,4 @@ -import QtQuick 2.12 +import QtQuick 2.15 import QtQuick.Controls 2.12 import QtGraphicalEffects 1.14 import QtQuick.Layouts 1.14 @@ -29,7 +29,6 @@ Item { height: 300 radius: 10 antialiasing: true - anchors { fill: parent margins: 20 @@ -46,14 +45,15 @@ Item { objectName: "settingsButton" font.pixelSize: Qt.application.font.pixelSize * 1.6 opacity: 1 - anchors { top: parent.top left: parent.left topMargin: Theme.windowMargin + 5 leftMargin: Theme.windowMargin + 5 } - + HoverHandler { + cursorShape: Qt.PointingHandCursor + } onClicked: { if (stackView.depth > 1) { stackView.pop() @@ -126,16 +126,17 @@ Item { // FIXME - this is a workaround. It will BREAK with i18n width: 100 spacing: 8 - anchors.horizontalCenter: parent.horizontalCenter Layout.alignment: Qt.AlignBottom - font { pixelSize: Theme.buttonFontSize capitalization: Font.Capitalize family: lightFont.name bold: false } + HoverHandler { + cursorShape: Qt.PointingHandCursor + } onClicked: { if (vpn.state === "on" | vpn.state === "starting") { |