qml: styling CPFP dialog, Toaster, GenericShareDialog
This commit is contained in:
@@ -16,6 +16,7 @@ ElDialog {
|
||||
signal txaccepted
|
||||
|
||||
title: qsTr('Bump Fee')
|
||||
iconSource: Qt.resolvedUrl('../../icons/rocket.png')
|
||||
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
@@ -182,8 +183,7 @@ ElDialog {
|
||||
delegate: TextHighlightPane {
|
||||
Layout.columnSpan: 2
|
||||
Layout.fillWidth: true
|
||||
padding: 0
|
||||
leftPadding: constants.paddingSmall
|
||||
|
||||
RowLayout {
|
||||
width: parent.width
|
||||
Label {
|
||||
|
||||
@@ -54,9 +54,9 @@ ElDialog {
|
||||
}
|
||||
|
||||
TextHighlightPane {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.leftMargin: constants.paddingMedium
|
||||
Layout.rightMargin: constants.paddingMedium
|
||||
Layout.fillWidth: true
|
||||
Layout.maximumWidth: qr.width
|
||||
Label {
|
||||
width: parent.width
|
||||
text: dialog.text
|
||||
@@ -69,6 +69,8 @@ ElDialog {
|
||||
}
|
||||
|
||||
Label {
|
||||
Layout.leftMargin: constants.paddingMedium
|
||||
Layout.rightMargin: constants.paddingMedium
|
||||
visible: dialog.text_help
|
||||
text: dialog.text_help
|
||||
wrapMode: Text.Wrap
|
||||
|
||||
@@ -17,7 +17,7 @@ Item {
|
||||
function show(item, text) {
|
||||
_text = text
|
||||
var r = item.mapToItem(parent, item.x, item.y)
|
||||
x = r.x - item.width + 0.5*(item.width - toaster.width)
|
||||
x = r.x + 0.5*(item.width - toaster.width)
|
||||
y = r.y - toaster.height - constants.paddingLarge
|
||||
toaster._y = y - toaster.height
|
||||
ani.restart()
|
||||
|
||||
Reference in New Issue
Block a user