fix(Browser) Transaction Popup was misaligned

Fixed transaction popup position
Fixed JSDialogWindow title was going
off popup boundaries

Closes #4361
This commit is contained in:
Alexandra Betouni 2022-02-11 21:34:12 +02:00 committed by Alexandra Betouni
parent 16e7d16c8c
commit 8e6ae3c047
2 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,7 @@ Rectangle {
// TODO we'll need a new dialog at one point because this one is not using the same call, but it's good for now
property Component sendTransactionModalComponent: SignTransactionModal {
anchors.centerIn: parent
store: browserWindow.globalStore
contactsStore: browserWindow.globalStore.profileSectionStore.contactsStore
}

View File

@ -70,6 +70,8 @@ Popup {
font.bold: true
font.pixelSize: 17
height: visible ? 24 : 0
width: visible ? parent.width - 44 : 0
elide: Text.ElideRight
visible: !!title
verticalAlignment: Text.AlignVCenter
}