qml: expand clickable area to full toolbar height and a bit more padding for right-side menu
This commit is contained in:
@@ -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()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user