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