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