From 93a05c88347d82bc511a1f3149c9ed9c8a306e3a Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Wed, 31 May 2023 20:42:00 -0400 Subject: [PATCH] Fixup the plus new chat button. --- gpt4all-chat/qml/ChatDrawer.qml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gpt4all-chat/qml/ChatDrawer.qml b/gpt4all-chat/qml/ChatDrawer.qml index c73fafe6..b6a56fb6 100644 --- a/gpt4all-chat/qml/ChatDrawer.qml +++ b/gpt4all-chat/qml/ChatDrawer.qml @@ -37,8 +37,16 @@ Drawer { anchors.left: parent.left anchors.right: parent.right font.pixelSize: theme.fontSizeLarger - text: qsTr("New chat") + topPadding: 20 + bottomPadding: 20 + text: qsTr("\uFF0B New chat") Accessible.description: qsTr("Use this to create a new chat") + background: Rectangle { + border.color: newChat.down ? theme.backgroundLightest : theme.buttonBorder + border.width: 2 + radius: 10 + color: newChat.hovered ? theme.backgroundDark : theme.backgroundDarkest + } onClicked: { LLM.chatListModel.addChat(); Network.sendNewChat(LLM.chatListModel.count)