UserInfo compact

Make UserInfo work in compact mode. This includes showing the account switch popup in a dialog

BUG: 482261
This commit is contained in:
James Graham
2024-03-29 09:09:13 +00:00
parent aaa97ec029
commit 158942d1b5
6 changed files with 235 additions and 214 deletions

View File

@@ -17,6 +17,8 @@ QQC2.ToolBar {
*/
required property NeoChatConnection connection
property bool collapsed: false
padding: 0
background: Rectangle {
@@ -31,6 +33,7 @@ QQC2.ToolBar {
Layout.fillWidth: true
}
UserInfo {
collapsed: root.collapsed
bottomEdge: true
connection: root.connection
}