mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-19 20:24:41 +00:00
Fix placement of our thumbs down dialog and datalake opt-in dialog. (#2540)
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
parent
45aa141189
commit
a34b0d78cb
@ -991,11 +991,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