aboutsummaryrefslogtreecommitdiff
path: root/components/ProcessingSplash.qml
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-04-25 13:05:54 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-04-25 13:05:54 -0500
commitfb4dfd0ea8a09999a7433e4d0d9ad1aa5009821d (patch)
treecbbe7fc3e3950354f7a4dcb925b6e1e9dc62efd8 /components/ProcessingSplash.qml
parent358e1d23facbd10fefbb2bf04c45b98f0c728ad0 (diff)
parent42f7afaefddbf5a7929ddf88dbe7b27e7f40a669 (diff)
downloadmonzero-gui-fb4dfd0ea8a09999a7433e4d0d9ad1aa5009821d.tar.gz
monzero-gui-fb4dfd0ea8a09999a7433e4d0d9ad1aa5009821d.tar.xz
monzero-gui-fb4dfd0ea8a09999a7433e4d0d9ad1aa5009821d.zip
Merge pull request #2060
42f7afa White theme (xmrdsc)
Diffstat (limited to 'components/ProcessingSplash.qml')
-rw-r--r--components/ProcessingSplash.qml18
1 files changed, 13 insertions, 5 deletions
diff --git a/components/ProcessingSplash.qml b/components/ProcessingSplash.qml
index 4ff5c410..47f441b6 100644
--- a/components/ProcessingSplash.qml
+++ b/components/ProcessingSplash.qml
@@ -26,16 +26,18 @@
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-import QtQuick 2.0
+import QtQuick 2.9
import QtQuick.Window 2.1
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.1
+import "../components" as MoneroComponents
+
Rectangle {
id: root
- color: "white"
+ color: MoneroComponents.Style.blackTheme ? "white" : "transparent"
visible: false
- z:11
+ z: 11
property alias messageText: messageTitle.text
property alias heightProgressText : heightProgress.text
@@ -61,12 +63,14 @@ Rectangle {
anchors.leftMargin: 30 * scaleRatio
anchors.rightMargin: 30 * scaleRatio
+ spacing: 12
+
BusyIndicator {
running: parent.visible
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
}
- Text {
+ MoneroComponents.TextPlain {
id: messageTitle
text: "Please wait..."
font {
@@ -75,10 +79,12 @@ Rectangle {
horizontalAlignment: Text.AlignHCenter
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
Layout.fillWidth: true
+ themeTransition: false
+ color: "black"
}
- Text {
+ MoneroComponents.TextPlain {
id: heightProgress
font {
pixelSize: 18 * scaleRatio
@@ -86,6 +92,8 @@ Rectangle {
horizontalAlignment: Text.AlignHCenter
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
Layout.fillWidth: true
+ themeTransition: false
+ color: "black"
}
}
}