From 57fb0d79f97f4e0c83f474892876e6898b10cb86 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 18 Nov 2021 22:33:45 +0100 Subject: Fix colors and alignment in dialogs --- resources/qml/dialogs/InviteDialog.qml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'resources/qml/dialogs/InviteDialog.qml') diff --git a/resources/qml/dialogs/InviteDialog.qml b/resources/qml/dialogs/InviteDialog.qml index 3acaa69d..9ddf8ed0 100644 --- a/resources/qml/dialogs/InviteDialog.qml +++ b/resources/qml/dialogs/InviteDialog.qml @@ -114,8 +114,7 @@ ApplicationWindow { id: layout spacing: Nheko.paddingMedium - anchors.verticalCenter: parent.verticalCenter - x: parent.x + Nheko.paddingSmall + anchors.centerIn: parent width: del.width - Nheko.paddingSmall * 2 Avatar { @@ -132,26 +131,20 @@ ApplicationWindow { Label { text: model.displayName - color: TimelineManager.userColor(model ? model.mxid : "", Nheko.colors.window) + color: TimelineManager.userColor(model ? model.mxid : "", del.background.color) font.pointSize: fontMetrics.font.pointSize } Label { text: model.mxid - color: Nheko.colors.buttonText + color: del.hovered ? Nheko.colors.brightText : Nheko.colors.buttonText font.pointSize: fontMetrics.font.pointSize * 0.9 } - Item { - Layout.fillHeight: true - Layout.fillWidth: true - } - } Item { Layout.fillWidth: true - Layout.fillHeight: true } ImageButton { -- cgit 1.5.1