diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-11-11 04:29:50 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-11-11 04:29:50 +0100 |
commit | 8f3a6abfa232feb7a4050f4199ba2424815b14e6 (patch) | |
tree | 7ba359f59a1fa2de8f3285ef423f9278525554cf /resources/qml/dialogs/RoomSettings.qml | |
parent | Fix no replies being rendered for edits sent from Element in encrypted rooms (diff) | |
download | nheko-8f3a6abfa232feb7a4050f4199ba2424815b14e6.tar.xz |
Improve the layout and behaviour of topbar slightly
Diffstat (limited to 'resources/qml/dialogs/RoomSettings.qml')
-rw-r--r-- | resources/qml/dialogs/RoomSettings.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/qml/dialogs/RoomSettings.qml b/resources/qml/dialogs/RoomSettings.qml index b0f7730b..32357690 100644 --- a/resources/qml/dialogs/RoomSettings.qml +++ b/resources/qml/dialogs/RoomSettings.qml @@ -34,8 +34,8 @@ ApplicationWindow { id: contentLayout1 anchors.fill: parent - anchors.margins: 10 - spacing: 10 + anchors.margins: Nheko.paddingMedium + spacing: Nheko.paddingMedium Avatar { url: roomSettings.roomAvatarUrl.replace("mxc://", "image://MxcImage/") @@ -156,7 +156,7 @@ ApplicationWindow { GridLayout { columns: 2 - rowSpacing: Nheko.paddingLarge + rowSpacing: Nheko.paddingMedium MatrixText { text: qsTr("SETTINGS") @@ -278,7 +278,7 @@ ApplicationWindow { MatrixText { text: roomSettings.roomId - font.pixelSize: fontMetrics.font.pixelSize * 1.2 + font.pixelSize: Math.floor(fontMetrics.font.pixelSize * 0.8) Layout.alignment: Qt.AlignRight } @@ -288,7 +288,7 @@ ApplicationWindow { MatrixText { text: roomSettings.roomVersion - font.pixelSize: fontMetrics.font.pixelSize * 1.2 + font.pixelSize: fontMetrics.font.pixelSize Layout.alignment: Qt.AlignRight } |