QML UI: show the cloud credentials in the global drawer banner
This is an additional side-benefit of rolling our own banner. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c8ef3d7924
commit
ca84d96a50
@ -161,6 +161,19 @@ Kirigami.ApplicationWindow {
|
||||
Layout.margins: Kirigami.Units.smallSpacing
|
||||
}
|
||||
}
|
||||
RowLayout {
|
||||
Layout.margins: Kirigami.Units.smallSpacing
|
||||
Kirigami.Heading {
|
||||
Layout.fillWidth: true
|
||||
visible: text.length > 0
|
||||
level: 1
|
||||
color: "white"
|
||||
text: prefs.cloudUserName
|
||||
wrapMode: Text.NoWrap
|
||||
elide: Text.ElideRight
|
||||
font.weight: Font.Normal
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user