Fix the thumbsdown dialog.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
Adam Treat 2024-06-26 16:36:00 -04:00
parent 01870b4a46
commit 6d593d6ea1
3 changed files with 8 additions and 4 deletions

View File

@ -1085,6 +1085,8 @@ Rectangle {
window.height / 2 - height / 2) window.height / 2 - height / 2)
x: globalPoint.x x: globalPoint.x
y: globalPoint.y y: globalPoint.y
width: 640
height: 300
property string text: value property string text: value
response: newResponse === undefined || newResponse === "" ? text : newResponse response: newResponse === undefined || newResponse === "" ? text : newResponse
onAccepted: { onAccepted: {

View File

@ -33,8 +33,10 @@ Dialog {
y: 0 - myDialog.padding + 15 y: 0 - myDialog.padding + 15
z: 300 z: 300
visible: myDialog.closePolicy != Popup.NoAutoClose visible: myDialog.closePolicy != Popup.NoAutoClose
width: 30 width: 24
height: 30 height: 24
imageWidth: 24
imageHeight: 24
padding: 0 padding: 0
source: "qrc:/gpt4all/icons/close.svg" source: "qrc:/gpt4all/icons/close.svg"
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit

View File

@ -44,9 +44,9 @@ MyDialog {
ScrollView { ScrollView {
clip: true clip: true
height: 300 height: 120
width: parent.width width: parent.width
ScrollBar.vertical.policy: ScrollBar.AlwaysOn ScrollBar.vertical.policy: ScrollBar.AsNeeded
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
MyTextArea { MyTextArea {