summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-06-14 23:07:20 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-06-14 23:07:20 +0200
commit6459ab8c956b4cc891657a1a54ebe5fea8df4c93 (patch)
treef9f958429fe3fadb28b63fcda8d8fa31243ca12e
parentUpdate libolm (diff)
downloadnheko-6459ab8c956b4cc891657a1a54ebe5fea8df4c93.tar.xz
Change collapse position
-rw-r--r--resources/qml/ChatPage.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/ChatPage.qml b/resources/qml/ChatPage.qml

index 7a428019..df2bf41f 100644 --- a/resources/qml/ChatPage.qml +++ b/resources/qml/ChatPage.qml
@@ -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