|
|
@ -17,7 +17,7 @@ Rectangle { |
|
|
|
id: adaptiveView |
|
|
|
id: adaptiveView |
|
|
|
|
|
|
|
|
|
|
|
anchors.fill: parent |
|
|
|
anchors.fill: parent |
|
|
|
singlePageMode: width < communityListC.maximumWidth + roomListC.maximumWidth + timlineViewC.minimumWidth |
|
|
|
singlePageMode: communityListC.preferredWidth + roomListC.preferredWidth + timlineViewC.minimumWidth > width |
|
|
|
pageIndex: Rooms.currentRoom ? 2 : 1 |
|
|
|
pageIndex: Rooms.currentRoom ? 2 : 1 |
|
|
|
|
|
|
|
|
|
|
|
AdaptiveLayoutElement { |
|
|
|
AdaptiveLayoutElement { |
|
|
@ -71,7 +71,7 @@ Rectangle { |
|
|
|
AdaptiveLayoutElement { |
|
|
|
AdaptiveLayoutElement { |
|
|
|
id: timlineViewC |
|
|
|
id: timlineViewC |
|
|
|
|
|
|
|
|
|
|
|
minimumWidth: 400 |
|
|
|
minimumWidth: fontMetrics.averageCharacterWidth * 40 + Nheko.avatarSize + 2* Nheko.paddingMedium |
|
|
|
|
|
|
|
|
|
|
|
TimelineView { |
|
|
|
TimelineView { |
|
|
|
id: timeline |
|
|
|
id: timeline |
|
|
|