qml: dynamic min win size, smaller default size, scaling tweaks (#2904)

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel 2024-08-28 12:49:43 -04:00 committed by GitHub
parent e8d74d8bf4
commit ed85cd8b6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 10 deletions

View File

@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
### Added ### Added
- Use greedy sampling when temperature is set to zero ([#2854](https://github.com/nomic-ai/gpt4all/pull/2854)) - Use greedy sampling when temperature is set to zero ([#2854](https://github.com/nomic-ai/gpt4all/pull/2854))
### Changed
- Smaller default window size, dynamic minimum size, and scaling tweaks ([#2904](https://github.com/nomic-ai/gpt4all/pull/2904))
### Fixed ### Fixed
- Bring back "Auto" option for Embeddings Device as "Application default," which went missing in v3.1.0 ([#2873](https://github.com/nomic-ai/gpt4all/pull/2873)) - Bring back "Auto" option for Embeddings Device as "Application default," which went missing in v3.1.0 ([#2873](https://github.com/nomic-ai/gpt4all/pull/2873))
- Correct a few strings in the Italian translation (by [@Harvester62](https://github.com/Harvester62) in [#2872](https://github.com/nomic-ai/gpt4all/pull/2872) and [#2909](https://github.com/nomic-ai/gpt4all/pull/2909)) - Correct a few strings in the Italian translation (by [@Harvester62](https://github.com/Harvester62) in [#2872](https://github.com/nomic-ai/gpt4all/pull/2872) and [#2909](https://github.com/nomic-ai/gpt4all/pull/2909))

View File

@ -15,10 +15,10 @@ import mysettings
Window { Window {
id: window id: window
width: 1920 width: 1440
height: 1080 height: 810
minimumWidth: 1280 minimumWidth: 658 + 470 * theme.fontScale
minimumHeight: 720 minimumHeight: 384 + 160 * theme.fontScale
visible: true visible: true
title: qsTr("GPT4All v%1").arg(Qt.application.version) title: qsTr("GPT4All v%1").arg(Qt.application.version)

View File

@ -76,8 +76,8 @@ Rectangle {
MyWelcomeButton { MyWelcomeButton {
Layout.fillWidth: true Layout.fillWidth: true
Layout.maximumWidth: 500 Layout.maximumWidth: 150 + 200 * theme.fontScale
Layout.preferredHeight: 150 Layout.preferredHeight: 40 + 90 * theme.fontScale
text: qsTr("Start Chatting") text: qsTr("Start Chatting")
description: qsTr("Chat with any LLM") description: qsTr("Chat with any LLM")
imageSource: "qrc:/gpt4all/icons/chat.svg" imageSource: "qrc:/gpt4all/icons/chat.svg"
@ -87,8 +87,8 @@ Rectangle {
} }
MyWelcomeButton { MyWelcomeButton {
Layout.fillWidth: true Layout.fillWidth: true
Layout.maximumWidth: 500 Layout.maximumWidth: 150 + 200 * theme.fontScale
Layout.preferredHeight: 150 Layout.preferredHeight: 40 + 90 * theme.fontScale
text: qsTr("LocalDocs") text: qsTr("LocalDocs")
description: qsTr("Chat with your local files") description: qsTr("Chat with your local files")
imageSource: "qrc:/gpt4all/icons/db.svg" imageSource: "qrc:/gpt4all/icons/db.svg"
@ -98,8 +98,8 @@ Rectangle {
} }
MyWelcomeButton { MyWelcomeButton {
Layout.fillWidth: true Layout.fillWidth: true
Layout.maximumWidth: 500 Layout.maximumWidth: 150 + 200 * theme.fontScale
Layout.preferredHeight: 150 Layout.preferredHeight: 40 + 90 * theme.fontScale
text: qsTr("Find Models") text: qsTr("Find Models")
description: qsTr("Explore and download models") description: qsTr("Explore and download models")
imageSource: "qrc:/gpt4all/icons/models.svg" imageSource: "qrc:/gpt4all/icons/models.svg"