1
0

qml: expand clickable area to full toolbar height and a bit more padding for right-side menu

This commit is contained in:
Sander van Grieken
2023-03-16 12:09:57 +01:00
parent b59a1410a2
commit f0d44d0681

View File

@@ -134,7 +134,6 @@ ApplicationWindow
font.pixelSize: constants.fontSizeMedium font.pixelSize: constants.fontSizeMedium
font.bold: true font.bold: true
MouseArea { MouseArea {
// height: toolbarTopLayout.height
anchors.fill: parent anchors.fill: parent
onClicked: { onClicked: {
stack.getRoot().menu.open() stack.getRoot().menu.open()
@@ -143,6 +142,24 @@ ApplicationWindow
} }
} }
Item {
implicitHeight: 48
implicitWidth: statusIconsLayout.width
MouseArea {
anchors.fill: parent
onClicked: openAppMenu()
}
RowLayout {
id: statusIconsLayout
anchors.verticalCenter: parent.verticalCenter
Item {
Layout.preferredWidth: constants.paddingLarge
Layout.preferredHeight: 1
}
Item { Item {
visible: Network.isTestNet visible: Network.isTestNet
width: column.width width: column.width
@@ -175,17 +192,8 @@ ApplicationWindow
scale: 1.5 scale: 1.5
} }
LightningNetworkStatusIndicator { LightningNetworkStatusIndicator {}
MouseArea { OnchainNetworkStatusIndicator {}
anchors.fill: parent
onClicked: openAppMenu()
}
}
OnchainNetworkStatusIndicator {
MouseArea {
anchors.fill: parent
onClicked: openAppMenu()
} }
} }
} }