mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-21 13:10:35 +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 {
|
ThumbsDownDialog {
|
||||||
id: thumbsDownDialog
|
id: thumbsDownDialog
|
||||||
property point globalPoint: mapFromItem(window,
|
x: Math.round((parent.width - width) / 2)
|
||||||
window.width / 2 - width / 2,
|
y: Math.round((parent.height - height) / 2)
|
||||||
window.height / 2 - height / 2)
|
|
||||||
x: globalPoint.x
|
|
||||||
y: globalPoint.y
|
|
||||||
width: 640
|
width: 640
|
||||||
height: 300
|
height: 300
|
||||||
property string text: value
|
property string text: value
|
||||||
|
@ -7,6 +7,7 @@ import QtQuick.Layouts
|
|||||||
|
|
||||||
Dialog {
|
Dialog {
|
||||||
id: myDialog
|
id: myDialog
|
||||||
|
parent: Overlay.overlay
|
||||||
property alias closeButtonVisible: myCloseButton.visible
|
property alias closeButtonVisible: myCloseButton.visible
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
Loading…
Reference in New Issue
Block a user