From 1de54e0ec1228e2450d6d6fc7d2de21a31e27cab Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sun, 21 Jul 2019 20:53:22 +0800 Subject: [PATCH] Tweak reaction size. --- imports/Spectral/Component/Timeline/MessageDelegate.qml | 1 + imports/Spectral/Component/Timeline/ReactionDelegate.qml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/imports/Spectral/Component/Timeline/MessageDelegate.qml b/imports/Spectral/Component/Timeline/MessageDelegate.qml index c6a77c8aa..6276f2c38 100644 --- a/imports/Spectral/Component/Timeline/MessageDelegate.qml +++ b/imports/Spectral/Component/Timeline/MessageDelegate.qml @@ -222,6 +222,7 @@ ColumnLayout { } ReactionDelegate { + Layout.topMargin: 0 Layout.bottomMargin: 8 Layout.leftMargin: 16 Layout.rightMargin: 16 diff --git a/imports/Spectral/Component/Timeline/ReactionDelegate.qml b/imports/Spectral/Component/Timeline/ReactionDelegate.qml index 9865f5eb7..0ac17e324 100644 --- a/imports/Spectral/Component/Timeline/ReactionDelegate.qml +++ b/imports/Spectral/Component/Timeline/ReactionDelegate.qml @@ -10,7 +10,7 @@ RowLayout { model: reaction delegate: Control { - horizontalPadding: 4 + horizontalPadding: 6 verticalPadding: 0 background: Rectangle { @@ -20,7 +20,7 @@ RowLayout { contentItem: Label { text: modelData.reaction + " " + modelData.count - font.pixelSize: 10 + font.pixelSize: 14 } } }