qml: ConfirmTxDialog layout fixes
This commit is contained in:
@@ -57,6 +57,8 @@ ElDialog {
|
|||||||
|
|
||||||
Label {
|
Label {
|
||||||
id: amountLabel
|
id: amountLabel
|
||||||
|
Layout.fillWidth: true
|
||||||
|
Layout.minimumWidth: implicitWidth
|
||||||
text: qsTr('Amount to send')
|
text: qsTr('Amount to send')
|
||||||
color: Material.accentColor
|
color: Material.accentColor
|
||||||
}
|
}
|
||||||
@@ -135,13 +137,20 @@ ElDialog {
|
|||||||
text: finalizer.target
|
text: finalizer.target
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RowLayout {
|
||||||
|
Layout.columnSpan: 2
|
||||||
|
Layout.fillWidth: true
|
||||||
|
|
||||||
Slider {
|
Slider {
|
||||||
id: feeslider
|
id: feeslider
|
||||||
|
Layout.fillWidth: true
|
||||||
leftPadding: constants.paddingMedium
|
leftPadding: constants.paddingMedium
|
||||||
|
|
||||||
snapMode: Slider.SnapOnRelease
|
snapMode: Slider.SnapOnRelease
|
||||||
stepSize: 1
|
stepSize: 1
|
||||||
from: 0
|
from: 0
|
||||||
to: finalizer.sliderSteps
|
to: finalizer.sliderSteps
|
||||||
|
|
||||||
onValueChanged: {
|
onValueChanged: {
|
||||||
if (activeFocus)
|
if (activeFocus)
|
||||||
finalizer.sliderPos = value
|
finalizer.sliderPos = value
|
||||||
@@ -161,6 +170,7 @@ ElDialog {
|
|||||||
id: target
|
id: target
|
||||||
feeslider: finalizer
|
feeslider: finalizer
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
InfoTextArea {
|
InfoTextArea {
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user