qml: fixes
This commit is contained in:
@@ -54,7 +54,7 @@ Item {
|
|||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.margins: constants.paddingLarge
|
Layout.margins: constants.paddingLarge
|
||||||
spacing: constants.paddingSizeSmall
|
spacing: constants.paddingSmall
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
source: '../../icons/info.png'
|
source: '../../icons/info.png'
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ ElDialog {
|
|||||||
|
|
||||||
required property QtObject swaphelper
|
required property QtObject swaphelper
|
||||||
|
|
||||||
width: parent.width
|
implicitHeight: parent.height
|
||||||
height: parent.height
|
implicitWidth: parent.width
|
||||||
|
|
||||||
title: qsTr('Lightning Swap')
|
title: qsTr('Lightning Swap')
|
||||||
iconSource: Qt.resolvedUrl('../../icons/update.png')
|
iconSource: Qt.resolvedUrl('../../icons/update.png')
|
||||||
@@ -170,7 +170,7 @@ ElDialog {
|
|||||||
width: swapslider.availableWidth
|
width: swapslider.availableWidth
|
||||||
height: implicitHeight
|
height: implicitHeight
|
||||||
radius: 2
|
radius: 2
|
||||||
color: Color.transparent(Material.accentColor, 0.33)
|
color: Material.accentColor
|
||||||
|
|
||||||
// full width somehow misaligns with handle, define rangeWidth
|
// full width somehow misaligns with handle, define rangeWidth
|
||||||
property int rangeWidth: width - swapslider.leftPadding
|
property int rangeWidth: width - swapslider.leftPadding
|
||||||
|
|||||||
Reference in New Issue
Block a user