good morning!!!!

Skip to content
Snippets Groups Projects
Commit 1878630b authored by Alexandre Van de Sande's avatar Alexandre Van de Sande
Browse files

Solved Issue #318 and added states to back button

parent 05f28088
No related branches found
No related tags found
No related merge requests found
cmd/mist/assets/backButtonDisabled.png

634 B

cmd/mist/assets/backButtonDisabled@2x.png

1.42 KiB

cmd/mist/assets/backButtonHover.png

657 B

cmd/mist/assets/backButtonHover@2x.png

1.48 KiB

......@@ -485,7 +485,7 @@ ApplicationWindow {
label.visible = !on
buttonLabel.visible = on
}
width: 192
height: 55
color: "#00000000"
......
......@@ -129,9 +129,9 @@ Rectangle {
Button {
id: back
onClicked: {
webview.goBack()
z: 30
onClicked: {
webview.goBack()
}
anchors {
......@@ -140,21 +140,23 @@ Rectangle {
}
style: ButtonStyle {
background: Image {
source: "../../backButton.png"
width: 20
height: 30
}
background: Image {
source: (webview.canGoBack) ?
(control.hovered ? "../../backButtonHover.png" : "../../backButton.png") :
"../../backButtonDisabled.png"
width: 20
height: 30
}
}
}
Rectangle {
id: appInfoPane
height: 28
color: "#FFFFFF"
radius: 6
MouseArea {
id: appInfoPane
height: 28
color: "#FFFFFF"
radius: 6
z:2
MouseArea {
anchors.fill: parent
z: 10
hoverEnabled: true
......@@ -247,7 +249,7 @@ Rectangle {
}
}
z:2
}
Rectangle {
......@@ -256,6 +258,7 @@ Rectangle {
height: 30
color: "#BDB6B6"
radius: 6
z:1
anchors {
left: back.right
......@@ -264,19 +267,17 @@ Rectangle {
rightMargin:10
top: parent.top
topMargin: 23
}
z:1
}
}
Rectangle {
id: navBarBackground
anchors.fill: parent
z:-1
gradient: Gradient {
GradientStop { position: 0.0; color: "#F6F1F2" }
GradientStop { position: 1.0; color: "#DED5D5" }
}
z:-1
}
states: [
......
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