mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-01 17:27:53 +00:00
feat: add browser btn
This commit is contained in:
parent
966e665a9d
commit
d09efbd397
37
main.qml
37
main.qml
@ -43,7 +43,7 @@ ApplicationWindow {
|
||||
}
|
||||
|
||||
TabButton {
|
||||
id: firstBtn
|
||||
id: chatBtn
|
||||
x: 0
|
||||
width: 40
|
||||
height: 40
|
||||
@ -67,13 +67,13 @@ ApplicationWindow {
|
||||
}
|
||||
|
||||
TabButton {
|
||||
id: secondBtn
|
||||
id: walletBtn
|
||||
width: 40
|
||||
height: 40
|
||||
text: ""
|
||||
anchors.topMargin: 50
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.top: firstBtn.top
|
||||
anchors.top: chatBtn.top
|
||||
background: Rectangle {
|
||||
color: "#ECEFFC"
|
||||
opacity: parent.checked ? 1 : 0
|
||||
@ -90,13 +90,13 @@ ApplicationWindow {
|
||||
}
|
||||
|
||||
TabButton {
|
||||
id: thirdBtn
|
||||
id: browserBtn
|
||||
width: 40
|
||||
height: 40
|
||||
text: ""
|
||||
anchors.topMargin: 50
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.top: secondBtn.top
|
||||
anchors.top: walletBtn.top
|
||||
background: Rectangle {
|
||||
color: "#ECEFFC"
|
||||
opacity: parent.checked ? 1 : 0
|
||||
@ -108,6 +108,29 @@ ApplicationWindow {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
fillMode: Image.PreserveAspectFit
|
||||
source: parent.checked ? "img/compassActive.svg" : "img/compass.svg"
|
||||
}
|
||||
}
|
||||
|
||||
TabButton {
|
||||
id: profileBtn
|
||||
width: 40
|
||||
height: 40
|
||||
text: ""
|
||||
anchors.topMargin: 50
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.top: browserBtn.top
|
||||
background: Rectangle {
|
||||
color: "#ECEFFC"
|
||||
opacity: parent.checked ? 1 : 0
|
||||
radius: 50
|
||||
}
|
||||
|
||||
Image {
|
||||
id: image3
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
fillMode: Image.PreserveAspectFit
|
||||
source: parent.checked ? "img/profileActive.svg" : "img/profile.svg"
|
||||
}
|
||||
}
|
||||
@ -172,7 +195,7 @@ ApplicationWindow {
|
||||
}
|
||||
|
||||
Image {
|
||||
id: image3
|
||||
id: image4
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 10
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
@ -269,6 +292,6 @@ ApplicationWindow {
|
||||
|
||||
/*##^##
|
||||
Designer {
|
||||
D{i:9;anchors_height:40;anchors_width:40}D{i:16;anchors_y:0}D{i:20;anchors_height:100;anchors_width:100}
|
||||
D{i:9;anchors_height:40;anchors_width:40}D{i:19;anchors_y:0}D{i:23;anchors_height:100;anchors_width:100}
|
||||
}
|
||||
##^##*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user