From 7344350eaa283b1f4c8e5546ee5fa343799cb483 Mon Sep 17 00:00:00 2001 From: "aleksandr.martynov" <aleksandr.martynov@demlabs.net> Date: Fri, 6 Dec 2019 10:59:28 +0300 Subject: [PATCH] [+] add hovered color to button new payment --- .../screen/StatusBar/DapUiQmlWidgetStatusBar.qml | 2 +- .../screen/StatusBar/DapUiQmlWidgetStatusBarButtonForm.ui.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBar.qml b/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBar.qml index eec214fdd..f5ece439a 100644 --- a/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBar.qml +++ b/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBar.qml @@ -67,7 +67,7 @@ Rectangle { height: 36 * pt name: qsTr("New wallet") fontHeight: 14 * pt - backgroundColor: "#070023" + backgroundColor: hovered ? "#D51F5D" : "#070023" anchors.right: parent.right anchors.top: parent.top anchors.topMargin: 10 * pt diff --git a/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBarButtonForm.ui.qml b/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBarButtonForm.ui.qml index 2824c5cef..585b24ec1 100644 --- a/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBarButtonForm.ui.qml +++ b/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBarButtonForm.ui.qml @@ -25,7 +25,7 @@ Button { anchors.fill: parent verticalAlignment: Qt.AlignVCenter horizontalAlignment: Qt.AlignRight - anchors.rightMargin: 20 + anchors.rightMargin: 20 * pt font.family: "Roboto" font.weight: Font.Normal color: "#FFFFFF" -- GitLab