Make the chatdrawer edit/delete icons smaller.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
Adam Treat 2024-06-26 11:36:50 -04:00
parent 30febbe3d2
commit d5968f4ab2

View File

@ -191,11 +191,11 @@ Rectangle {
anchors.verticalCenter: chatName.verticalCenter anchors.verticalCenter: chatName.verticalCenter
anchors.right: chatRectangle.right anchors.right: chatRectangle.right
anchors.rightMargin: 10 anchors.rightMargin: 10
spacing: 10 spacing: 5
MyToolButton { MyToolButton {
id: editButton id: editButton
width: 30 imageWidth: 24
height: 30 imageHeight: 24
visible: isCurrent && !isServer visible: isCurrent && !isServer
opacity: trashQuestionDisplayed ? 0.5 : 1.0 opacity: trashQuestionDisplayed ? 0.5 : 1.0
source: "qrc:/gpt4all/icons/edit.svg" source: "qrc:/gpt4all/icons/edit.svg"
@ -208,8 +208,8 @@ Rectangle {
} }
MyToolButton { MyToolButton {
id: trashButton id: trashButton
width: 30 imageWidth: 24
height: 30 imageHeight: 24
visible: isCurrent && !isServer visible: isCurrent && !isServer
source: "qrc:/gpt4all/icons/trash.svg" source: "qrc:/gpt4all/icons/trash.svg"
onClicked: { onClicked: {