mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Fix placement of our thumbs down dialog and datalake opt-in dialog.
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
parent
1ce65e8ef2
commit
e821d1d35b
@ -987,11 +987,8 @@ Rectangle {
|
||||
|
||||
ThumbsDownDialog {
|
||||
id: thumbsDownDialog
|
||||
property point globalPoint: mapFromItem(window,
|
||||
window.width / 2 - width / 2,
|
||||
window.height / 2 - height / 2)
|
||||
x: globalPoint.x
|
||||
y: globalPoint.y
|
||||
x: Math.round((parent.width - width) / 2)
|
||||
y: Math.round((parent.height - height) / 2)
|
||||
width: 640
|
||||
height: 300
|
||||
property string text: value
|
||||
|
@ -7,6 +7,7 @@ import QtQuick.Layouts
|
||||
|
||||
Dialog {
|
||||
id: myDialog
|
||||
parent: Overlay.overlay
|
||||
property alias closeButtonVisible: myCloseButton.visible
|
||||
background: Rectangle {
|
||||
width: parent.width
|
||||
|
Loading…
Reference in New Issue
Block a user