From: Camila Date: Tue, 5 Apr 2022 14:14:58 +0000 (+0200) Subject: Adress design issues. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~17^2~73^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6189b2115ed43b9b0e4cdaaa9cc30ab95dfe2a49;p=nextcloud-desktop.git Adress design issues. - The input field was not using the theming. - After submitting the reply, the text and icon on the left were moving. Signed-off-by: Camila --- diff --git a/src/gui/tray/ActivityItemContent.qml b/src/gui/tray/ActivityItemContent.qml index 7b49e07bd..4b4f1e3ff 100644 --- a/src/gui/tray/ActivityItemContent.qml +++ b/src/gui/tray/ActivityItemContent.qml @@ -134,7 +134,7 @@ RowLayout { Label { id: talkReplyMessageSent text: root.activityData.messageSent - height: (text === "") ? 0 : implicitHeight + height: implicitHeight width: parent.width elide: Text.ElideRight wrapMode: Text.Wrap diff --git a/src/gui/tray/TalkReplyTextField.qml b/src/gui/tray/TalkReplyTextField.qml index a53c88099..9c9d501c8 100644 --- a/src/gui/tray/TalkReplyTextField.qml +++ b/src/gui/tray/TalkReplyTextField.qml @@ -34,7 +34,7 @@ Item { id: replyMessageTextFieldBorder radius: 24 border.width: 1 - border.color: Style.ncBlue + border.color: parent.activeFocus ? UserModel.currentUser.accentColor : Style.menuBorder color: Style.backgroundColor } @@ -48,10 +48,10 @@ Item { onClicked: root.sendReplyMessage() icon { - source: "image://svgimage-custom-color/send.svg" + "/" + Style.ncBlue + source: "image://svgimage-custom-color/send.svg" + "/" + Style.menuBorder width: 38 height: 38 - color: hovered || !sendReplyMessageButton.enabled? Style.menuBorder : Style.ncBlue + color: hovered || !sendReplyMessageButton.enabled? Style.menuBorder : UserModel.currentUser.accentColor } anchors {