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>
This commit is contained in:
Adam Treat 2024-02-01 15:43:34 -05:00
parent 111e152a5d
commit e1eac00ee0

View File

@ -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