mirror of
https://github.com/monero-project/monero-gui
synced 2025-01-10 17:26:24 +01:00
This commit is contained in:
parent
74b6483b18
commit
6800bb67d7
@ -6,6 +6,7 @@ import "components"
|
|||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: 330
|
width: 330
|
||||||
|
color: "#FFFFFF"
|
||||||
|
|
||||||
TabView {
|
TabView {
|
||||||
id: tabView
|
id: tabView
|
||||||
@ -87,7 +88,7 @@ Rectangle {
|
|||||||
Rectangle { height: 8; width: parent.width / 5; color: "#6B0072" }
|
Rectangle { height: 8; width: parent.width / 5; color: "#6B0072" }
|
||||||
Rectangle { height: 8; width: parent.width / 5; color: "#FF6C3C" }
|
Rectangle { height: 8; width: parent.width / 5; color: "#FF6C3C" }
|
||||||
Rectangle { height: 8; width: parent.width / 5; color: "#FFD781" }
|
Rectangle { height: 8; width: parent.width / 5; color: "#FFD781" }
|
||||||
Rectangle { height: 8; width: parent.width / 5; color: "#FF4F41" }
|
Rectangle { height: 8; width: parent.width / 5 - 30; color: "#FF4F41" }
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
@ -100,7 +100,7 @@ Item {
|
|||||||
onClicked: {
|
onClicked: {
|
||||||
if(droplist.height === 0) {
|
if(droplist.height === 0) {
|
||||||
appWindow.currentItem = dropdown
|
appWindow.currentItem = dropdown
|
||||||
droplist.height = dropcolumn.height
|
droplist.height = dropcolumn.height + 2
|
||||||
} else {
|
} else {
|
||||||
droplist.height = 0
|
droplist.height = 0
|
||||||
}
|
}
|
||||||
@ -117,8 +117,20 @@ Item {
|
|||||||
clip: true
|
clip: true
|
||||||
x: dropdown.x
|
x: dropdown.x
|
||||||
y: dropdown.height
|
y: dropdown.height
|
||||||
|
border.width: 1
|
||||||
|
border.color: "#DBDBDB"
|
||||||
color: "#FFFFFF"
|
color: "#FFFFFF"
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.leftMargin: 1
|
||||||
|
anchors.rightMargin: 1
|
||||||
|
height: 1
|
||||||
|
color: "#FFFFFF"
|
||||||
|
}
|
||||||
|
|
||||||
Behavior on height {
|
Behavior on height {
|
||||||
NumberAnimation { duration: 100; easing.type: Easing.InQuad }
|
NumberAnimation { duration: 100; easing.type: Easing.InQuad }
|
||||||
}
|
}
|
||||||
@ -135,6 +147,7 @@ Item {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
|
anchors.margins: 1
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
model: dropdownModel
|
model: dropdownModel
|
||||||
|
4
main.qml
4
main.qml
@ -267,8 +267,8 @@ ApplicationWindow {
|
|||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
height: 48
|
height: 30
|
||||||
width: 48
|
width: 30
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
Loading…
Reference in New Issue
Block a user