Fix the download and settings dialog to take more real estate if available on large monitors.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
remove_docx
Adam Treat 7 months ago
parent 111e152a5d
commit e1eac00ee0

@ -410,7 +410,7 @@ Window {
SettingsDialog { SettingsDialog {
id: settingsDialog id: settingsDialog
anchors.centerIn: parent anchors.centerIn: parent
width: Math.min(1280, window.width - (window.width * .1)) width: Math.min(1920, window.width - (window.width * .1))
height: window.height - (window.height * .1) height: window.height - (window.height * .1)
onDownloadClicked: { onDownloadClicked: {
downloadNewModels.showEmbeddingModels = true downloadNewModels.showEmbeddingModels = true
@ -736,7 +736,7 @@ Window {
ModelDownloaderDialog { ModelDownloaderDialog {
id: downloadNewModels id: downloadNewModels
anchors.centerIn: parent anchors.centerIn: parent
width: Math.min(1280, window.width - (window.width * .1)) width: Math.min(1920, window.width - (window.width * .1))
height: window.height - (window.height * .1) height: window.height - (window.height * .1)
Item { Item {
Accessible.role: Accessible.Dialog Accessible.role: Accessible.Dialog

Loading…
Cancel
Save