From 9950221159e1f4987e7043d1fcc1afc46945c618 Mon Sep 17 00:00:00 2001 From: ace-smart Date: Wed, 10 Feb 2021 09:57:33 +0400 Subject: [PATCH] Adjusted padding and margin of the StatusTooltip component as design. Fixes #1817 --- .../Chat/ChatColumn/MessageComponents/ChatButtons.qml | 2 -- .../Chat/ChatColumn/MessageComponents/EmojiReactions.qml | 2 -- ui/shared/CopyToClipBoardButton.qml | 1 - 3 files changed, 5 deletions(-) diff --git a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatButtons.qml b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatButtons.qml index 624065c7b4..7e132f0da5 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatButtons.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatButtons.qml @@ -72,7 +72,6 @@ Rectangle { StatusToolTip { visible: emojiBtn.hovered text: qsTr("Add reaction") - width: 115 } } @@ -92,7 +91,6 @@ Rectangle { StatusToolTip { visible: replyBtn.hovered text: qsTr("Reply") - width: 75 } } } diff --git a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/EmojiReactions.qml b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/EmojiReactions.qml index b8014666f9..d9be90a939 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/EmojiReactions.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/EmojiReactions.qml @@ -77,7 +77,6 @@ Item { StatusToolTip { visible: mouseArea.containsMouse text: showReactionAuthors(modelData.fromAccounts, modelData.emojiId) - width: 400 } // Rounded corner to cover one corner @@ -218,7 +217,6 @@ Item { StatusToolTip { visible: addEmojiBtn.isHovered text: qsTr("Add reaction") - width: 115 } } } diff --git a/ui/shared/CopyToClipBoardButton.qml b/ui/shared/CopyToClipBoardButton.qml index 7708d4c5b7..0a27c9d47d 100644 --- a/ui/shared/CopyToClipBoardButton.qml +++ b/ui/shared/CopyToClipBoardButton.qml @@ -51,7 +51,6 @@ Rectangle { StatusToolTip { id: toolTip - width: 80 text: qsTr("Copied!") }