mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-18 23:53:41 +02:00
fix popups positioning
This commit is contained in:
parent
e324e160da
commit
4b871306e4
@ -90,7 +90,7 @@ Window {
|
||||
}
|
||||
|
||||
Text {
|
||||
text: qsTr("Starting Monero daemon in %1 seconds").arg(countDown);
|
||||
text: qsTr("Starting local node in %1 seconds").arg(countDown);
|
||||
font.pixelSize: 18
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.fillWidth: true
|
||||
|
@ -79,14 +79,6 @@ ListView {
|
||||
}
|
||||
}
|
||||
|
||||
StandardDialog {
|
||||
id: detailsPopup
|
||||
cancelVisible: false
|
||||
okVisible: true
|
||||
width:850
|
||||
}
|
||||
|
||||
|
||||
delegate: Rectangle {
|
||||
id: delegate
|
||||
height: 144
|
||||
@ -111,10 +103,10 @@ ListView {
|
||||
onClicked: {
|
||||
var tx_key = currentWallet.getTxKey(hash)
|
||||
var tx_note = currentWallet.getUserNote(hash)
|
||||
detailsPopup.title = "Transaction details";
|
||||
detailsPopup.content = buildTxDetailsString(hash,paymentId,tx_key,tx_note,destinations);
|
||||
detailsPopup.open();
|
||||
|
||||
informationPopup.title = "Transaction details";
|
||||
informationPopup.content = buildTxDetailsString(hash,paymentId,tx_key,tx_note,destinations);
|
||||
informationPopup.onCloseCallback = null
|
||||
informationPopup.open();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ Rectangle {
|
||||
function open() {
|
||||
// Center
|
||||
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
|
||||
}
|
||||
show()
|
||||
|
4
main.qml
4
main.qml
@ -1146,8 +1146,8 @@ ApplicationWindow {
|
||||
id: splash
|
||||
width: appWindow.width / 1.5
|
||||
height: appWindow.height / 2
|
||||
x: (appWindow.width - width) / 2 + appWindow.x
|
||||
y: (appWindow.height - height) / 2 + appWindow.y
|
||||
x: (appWindow.width - width) / 2
|
||||
y: (appWindow.height - height) / 2
|
||||
messageText: qsTr("Please wait...")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user