Improve visual on Mobile

This commit is contained in:
Carl Schwan
2020-12-02 22:52:13 +01:00
parent 633d2da4e6
commit fcede82fec

View File

@@ -29,14 +29,16 @@ Kirigami.ScrollablePage {
signal switchRoomUp()
signal switchRoomDown()
title: currentRoom.name
titleDelegate: Component {
RowLayout {
visible: !Kirigami.Settings.isMobile
Layout.fillWidth: true
Layout.maximumWidth: implicitWidth + 1 // The +1 is to make sure we do not trigger eliding at max width
Layout.minimumWidth: 0
Kirigami.Heading {
level: 1
text: currentRoom.name
text: page.title
opacity: page.isCurrentPage ? 1 : 0.4
maximumLineCount: 1
elide: Text.ElideRight