mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Change collapse position
This commit is contained in:
parent
a8c3478ea1
commit
6459ab8c95
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ Rectangle {
|
|||
id: adaptiveView
|
||||
|
||||
anchors.fill: parent
|
||||
singlePageMode: width < communityListC.maximumWidth + roomListC.maximumWidth + timlineViewC.minimumWidth
|
||||
singlePageMode: communityListC.preferredWidth + roomListC.preferredWidth + timlineViewC.minimumWidth > width
|
||||
pageIndex: Rooms.currentRoom ? 2 : 1
|
||||
|
||||
AdaptiveLayoutElement {
|
||||
|
@ -71,7 +71,7 @@ Rectangle {
|
|||
AdaptiveLayoutElement {
|
||||
id: timlineViewC
|
||||
|
||||
minimumWidth: 400
|
||||
minimumWidth: fontMetrics.averageCharacterWidth * 40 + Nheko.avatarSize + 2* Nheko.paddingMedium
|
||||
|
||||
TimelineView {
|
||||
id: timeline
|
||||
|
|
Loading…
Reference in a new issue