mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Restyled addressbook panel
This commit is contained in:
parent
6677a185f8
commit
a128581ae5
2 changed files with 9 additions and 15 deletions
|
@ -53,7 +53,7 @@ ListView {
|
|||
id: delegate
|
||||
height: 64
|
||||
width: listView.width
|
||||
color: index % 2 ? "#ee6000" : "#3e3e3e"
|
||||
color: "transparent"
|
||||
z: listView.count - index
|
||||
function collapseDropdown() { dropdown.expanded = false }
|
||||
|
||||
|
@ -62,7 +62,7 @@ ListView {
|
|||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: 12
|
||||
width: text.length ? (descriptionArea.containsMouse ? dropdown.x - x - 12 : 139) : 0
|
||||
width: text.length ? (descriptionArea.containsMouse ? 139 : 139) : 0
|
||||
font.family: "Arial"
|
||||
font.bold: true
|
||||
font.pixelSize: 19
|
||||
|
@ -89,6 +89,7 @@ ListView {
|
|||
font.pixelSize: 16
|
||||
color: "#ffffff"
|
||||
text: address
|
||||
readOnly: true
|
||||
}
|
||||
|
||||
Text {
|
||||
|
@ -111,7 +112,7 @@ ListView {
|
|||
anchors.leftMargin: 12
|
||||
anchors.rightMargin: 12
|
||||
anchors.right: dropdown.left
|
||||
|
||||
readOnly: true
|
||||
|
||||
font.family: "Arial"
|
||||
font.pixelSize: 13
|
||||
|
@ -164,7 +165,7 @@ ListView {
|
|||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
height: 1
|
||||
color: "#808080"
|
||||
color: "#404040"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,6 +38,7 @@ Rectangle {
|
|||
property var model
|
||||
|
||||
ColumnLayout {
|
||||
id: columnLayout
|
||||
anchors.margins: (isMobile)? 17 : 40
|
||||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
|
@ -115,6 +116,9 @@ Rectangle {
|
|||
|
||||
Rectangle {
|
||||
id: tableRect
|
||||
anchors.top: columnLayout.bottom
|
||||
anchors.leftMargin: (isMobile)? 17 : 40
|
||||
anchors.rightMargin: (isMobile)? 17 : 40
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
|
@ -125,14 +129,6 @@ Rectangle {
|
|||
NumberAnimation { duration: 200; easing.type: Easing.InQuad }
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
height: 1
|
||||
color: "#808080"
|
||||
}
|
||||
|
||||
Scroll {
|
||||
id: flickableScroll
|
||||
anchors.right: table.right
|
||||
|
@ -148,9 +144,6 @@ Rectangle {
|
|||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.topMargin: 14
|
||||
anchors.leftMargin: 14
|
||||
anchors.rightMargin: 14
|
||||
onContentYChanged: flickableScroll.flickableContentYChanged()
|
||||
model: root.model
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue