summary refs log tree commit diff
path: root/resources/qml/TopBar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/TopBar.qml')
-rw-r--r--resources/qml/TopBar.qml21
1 files changed, 4 insertions, 17 deletions
diff --git a/resources/qml/TopBar.qml b/resources/qml/TopBar.qml

index 699595e6..b7cd3ff0 100644 --- a/resources/qml/TopBar.qml +++ b/resources/qml/TopBar.qml
@@ -125,6 +125,8 @@ Pane { Layout.row: 2 clip: true enabled: false + // don't use the disabled color + color: topBar.palette.text selectByMouse: false text: roomTopic } @@ -285,25 +287,10 @@ Pane { property var e: room ? room.getDump(modelData, "pins") : {} - Layout.fillWidth: true - Layout.preferredHeight: height - blurhash: e.blurhash ?? "" - body: e.body ?? "" - encryptionError: e.encryptionError ?? 0 + maxWidth: pinnedMessages.width + //Layout.preferredHeight: height eventId: e.eventId ?? "" - filename: e.filename ?? "" - filesize: e.filesize ?? "" - formattedBody: e.formattedBody ?? "" - isOnlyEmoji: e.isOnlyEmoji ?? false - keepFullText: true - originalWidth: e.originalWidth ?? 0 - proportionalHeight: e.proportionalHeight ?? 1 - type: e.type ?? MtxEvent.UnknownMessage - typeString: e.typeString ?? "" - url: e.url ?? "" userColor: TimelineManager.userColor(e.userId, palette.window) - userId: e.userId ?? "" - userName: e.userName ?? "" Connections { function onPinnedMessagesChanged() {