fix: chatLayout getting squished on first login
This commit is contained in:
parent
29a9ca4ef5
commit
7ddb93266b
|
@ -70,25 +70,21 @@ SplitView {
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: contactColumnLoader
|
id: contactColumnLoader
|
||||||
|
SplitView.preferredWidth: Style.current.leftTabPrefferedSize
|
||||||
|
SplitView.minimumWidth: Style.current.leftTabMinimumWidth
|
||||||
|
SplitView.maximumWidth: Style.current.leftTabMaximumWidth
|
||||||
sourceComponent: chatsModel.activeCommunity.active ? communtiyColumnComponent : contactsColumnComponent
|
sourceComponent: chatsModel.activeCommunity.active ? communtiyColumnComponent : contactsColumnComponent
|
||||||
}
|
}
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: contactsColumnComponent
|
id: contactsColumnComponent
|
||||||
ContactsColumn {
|
ContactsColumn {
|
||||||
SplitView.preferredWidth: Style.current.leftTabPrefferedSize
|
|
||||||
SplitView.minimumWidth: Style.current.leftTabMinimumWidth
|
|
||||||
SplitView.maximumWidth: Style.current.leftTabMaximumWidth
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: communtiyColumnComponent
|
id: communtiyColumnComponent
|
||||||
CommunityColumn {
|
CommunityColumn {}
|
||||||
SplitView.preferredWidth: Style.current.leftTabPrefferedSize
|
|
||||||
SplitView.minimumWidth: Style.current.leftTabMinimumWidth
|
|
||||||
SplitView.maximumWidth: Style.current.leftTabMaximumWidth
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ChatColumn {
|
ChatColumn {
|
||||||
|
|
Loading…
Reference in New Issue