QML UI: improve banner in global drawer

The asynchronous load seemed to be (at least one of) the culprit(s) of
the banner occasionally not showing up.
Making the font for the cloud ID smaller looks better (and works much
better for long email addresses).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-06-20 11:50:14 +09:00
parent 547dd51892
commit 1ccf21f08d

View file

@ -112,7 +112,6 @@ Kirigami.ApplicationWindow {
Layout.fillWidth: true Layout.fillWidth: true
sourceSize.width: parent.width sourceSize.width: parent.width
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
asynchronous: true
LinearGradient { LinearGradient {
anchors { anchors {
left: parent.left left: parent.left
@ -166,7 +165,7 @@ Kirigami.ApplicationWindow {
Kirigami.Heading { Kirigami.Heading {
Layout.fillWidth: true Layout.fillWidth: true
visible: text.length > 0 visible: text.length > 0
level: 1 level: 3
color: "white" color: "white"
text: prefs.cloudUserName text: prefs.cloudUserName
wrapMode: Text.NoWrap wrapMode: Text.NoWrap