Skip to content

Commit 63e8494

Browse files
committed
qml: Use content item on desktop wallets
1 parent 42f58ad commit 63e8494

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

src/qml/pages/wallet/DesktopWallets.qml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -126,28 +126,22 @@ Page {
126126
}
127127
}
128128

129-
StackLayout {
130-
width: parent.width
131-
height: parent.height
129+
contentItem: StackLayout {
132130
currentIndex: navigationTabs.checkedButton.index
133131
clip: true
134132
Activity {
135-
id: activityTab
136133
}
137134
Send {
138-
id: sendTab
139135
onTransactionPrepared: root.sendTransaction()
140136
}
141137
RequestPayment {
142-
id: receiveTab
143138
}
144139
Item {
145140
id: blockClockTab
146-
anchors.fill: parent
147141
BlockClock {
148-
parentWidth: parent.width - 40
149-
parentHeight: parent.height
150-
anchors.centerIn: parent
142+
parentWidth: blockClockTab.width - 40
143+
parentHeight: blockClockTab.height
144+
anchors.centerIn: blockClockTab
151145
showNetworkIndicator: false
152146
}
153147
}

0 commit comments

Comments
 (0)