Improve visual on Mobile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user