mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
fix popups positioning
This commit is contained in:
parent
e324e160da
commit
4b871306e4
4 changed files with 8 additions and 16 deletions
|
@ -90,7 +90,7 @@ Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
text: qsTr("Starting Monero daemon in %1 seconds").arg(countDown);
|
text: qsTr("Starting local node in %1 seconds").arg(countDown);
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
|
@ -79,14 +79,6 @@ ListView {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StandardDialog {
|
|
||||||
id: detailsPopup
|
|
||||||
cancelVisible: false
|
|
||||||
okVisible: true
|
|
||||||
width:850
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
delegate: Rectangle {
|
delegate: Rectangle {
|
||||||
id: delegate
|
id: delegate
|
||||||
height: 144
|
height: 144
|
||||||
|
@ -111,10 +103,10 @@ ListView {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
var tx_key = currentWallet.getTxKey(hash)
|
var tx_key = currentWallet.getTxKey(hash)
|
||||||
var tx_note = currentWallet.getUserNote(hash)
|
var tx_note = currentWallet.getUserNote(hash)
|
||||||
detailsPopup.title = "Transaction details";
|
informationPopup.title = "Transaction details";
|
||||||
detailsPopup.content = buildTxDetailsString(hash,paymentId,tx_key,tx_note,destinations);
|
informationPopup.content = buildTxDetailsString(hash,paymentId,tx_key,tx_note,destinations);
|
||||||
detailsPopup.open();
|
informationPopup.onCloseCallback = null
|
||||||
|
informationPopup.open();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ Rectangle {
|
||||||
function open() {
|
function open() {
|
||||||
// Center
|
// Center
|
||||||
if(!isMobile) {
|
if(!isMobile) {
|
||||||
root.x = appWindow.width/2 - root.width/2
|
root.x = parent.width/2 - root.width/2
|
||||||
root.y = screenHeight/2 - root.height/2
|
root.y = screenHeight/2 - root.height/2
|
||||||
}
|
}
|
||||||
show()
|
show()
|
||||||
|
|
4
main.qml
4
main.qml
|
@ -1146,8 +1146,8 @@ ApplicationWindow {
|
||||||
id: splash
|
id: splash
|
||||||
width: appWindow.width / 1.5
|
width: appWindow.width / 1.5
|
||||||
height: appWindow.height / 2
|
height: appWindow.height / 2
|
||||||
x: (appWindow.width - width) / 2 + appWindow.x
|
x: (appWindow.width - width) / 2
|
||||||
y: (appWindow.height - height) / 2 + appWindow.y
|
y: (appWindow.height - height) / 2
|
||||||
messageText: qsTr("Please wait...")
|
messageText: qsTr("Please wait...")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue