mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-20 04:34:37 +00:00
Fix the thumbsdown dialog.
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
parent
01870b4a46
commit
6d593d6ea1
@ -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: {
|
||||||
|
@ -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
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user