Skip to content

Refactor Init error window to fit to design spec #164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 25 additions & 12 deletions src/qml/pages/initerrormessage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,35 @@

import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import "../controls"

ApplicationWindow {
title: "Bitcoin Core TnG"
id: root
visible: true
title: "Bitcoin Core App"
minimumWidth: 500
minimumHeight: 200
minimumHeight: 250
color: Theme.color.background
ColumnLayout {
spacing: 30
anchors.top: parent.top
anchors.horizontalCenter: parent.horizontalCenter
width: 340

Dialog {
anchors.centerIn: parent
title: qsTr("Error")
contentItem:
Label {
text: message
}
visible: true
standardButtons: Dialog.Ok
onAccepted: Qt.quit()
Header {
Layout.topMargin: 30
Layout.fillWidth: true
bold: true
header: qsTr("There was an issue starting up.")
headerSize: 21
description: message
descriptionMargin: 3
}
OutlineButton {
Layout.alignment: Qt.AlignCenter
text: qsTr("Close")
onClicked: Qt.quit()
}
}
}