From 7ac3afdcda092949bdd3e581ff95dce06cc72bb3 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Wed, 5 Apr 2023 13:13:50 +0200 Subject: [PATCH] qml: fixes --- electrum/gui/qml/components/NotificationPopup.qml | 2 +- electrum/gui/qml/components/SwapDialog.qml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/electrum/gui/qml/components/NotificationPopup.qml b/electrum/gui/qml/components/NotificationPopup.qml index 3700d77be..543268042 100644 --- a/electrum/gui/qml/components/NotificationPopup.qml +++ b/electrum/gui/qml/components/NotificationPopup.qml @@ -54,7 +54,7 @@ Item { RowLayout { Layout.margins: constants.paddingLarge - spacing: constants.paddingSizeSmall + spacing: constants.paddingSmall Image { source: '../../icons/info.png' diff --git a/electrum/gui/qml/components/SwapDialog.qml b/electrum/gui/qml/components/SwapDialog.qml index 0eeb8bb3d..77b8694fc 100644 --- a/electrum/gui/qml/components/SwapDialog.qml +++ b/electrum/gui/qml/components/SwapDialog.qml @@ -12,8 +12,8 @@ ElDialog { required property QtObject swaphelper - width: parent.width - height: parent.height + implicitHeight: parent.height + implicitWidth: parent.width title: qsTr('Lightning Swap') iconSource: Qt.resolvedUrl('../../icons/update.png') @@ -170,7 +170,7 @@ ElDialog { width: swapslider.availableWidth height: implicitHeight radius: 2 - color: Color.transparent(Material.accentColor, 0.33) + color: Material.accentColor // full width somehow misaligns with handle, define rangeWidth property int rangeWidth: width - swapslider.leftPadding