Skip to content
Snippets Groups Projects
Commit 41babf68 authored by Alexander's avatar Alexander
Browse files

[*] add change color to button new payment when active

parent 7344350e
No related branches found
No related tags found
2 merge requests!59Features 2608,!51Features 2608
...@@ -17,7 +17,7 @@ DapUiQmlScreen { ...@@ -17,7 +17,7 @@ DapUiQmlScreen {
Rectangle { Rectangle {
id: nameWalletTextArea id: nameWalletTextArea
height: 30 height: 30 * pt
color: "#757184" color: "#757184"
anchors.right: parent.right anchors.right: parent.right
anchors.left: parent.left anchors.left: parent.left
......
...@@ -13,17 +13,18 @@ DapUiQmlScreen { ...@@ -13,17 +13,18 @@ DapUiQmlScreen {
property string backButtonHovered : "qrc:/res/icons/close_icon_hover.png" property string backButtonHovered : "qrc:/res/icons/close_icon_hover.png"
property string title : qsTr("New wallet") property string title : qsTr("New wallet")
property alias mouseArea : mouseArea property alias mouseArea : mouseArea
property alias pressedCloseAddWallet: mouseArea.pressed
RowLayout RowLayout
{ {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 8 anchors.leftMargin: 8 * pt
spacing: 12 spacing: 12 * pt
Rectangle { Rectangle {
width: 16 width: 16 * pt
height: 16 height: 16 * pt
color: "transparent" color: "transparent"
Image { Image {
......
...@@ -78,7 +78,14 @@ Rectangle { ...@@ -78,7 +78,14 @@ Rectangle {
onClicked: { onClicked: {
rightPanel.header.push("qrc:/screen/LastAction/DapUiQmlScreenDialogAddWalletHeader.qml", {"rightPanel": rightPanel}); rightPanel.header.push("qrc:/screen/LastAction/DapUiQmlScreenDialogAddWalletHeader.qml", {"rightPanel": rightPanel});
rightPanel.content.push("qrc:/screen/LastAction/DapUiQmlScreenDialogAddWallet.qml", {"rightPanel": rightPanel}); rightPanel.content.push("qrc:/screen/LastAction/DapUiQmlScreenDialogAddWallet.qml", {"rightPanel": rightPanel});
statusBarAddWalletButton.backgroundColor = "#D51F5D"
}
Connections {
target: rightPanel.header.currentItem
onPressedCloseAddWalletChanged: statusBarAddWalletButton.backgroundColor = "#070023"
} }
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment