mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-25 15:02:03 +00:00
scrollbar fixed for main chat and chat drawer (#1301)
This commit is contained in:
parent
3d2db76070
commit
cbdcde8b75
@ -675,7 +675,7 @@ Window {
|
|||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.bottom: !currentChat.isServer ? textInputView.top : parent.bottom
|
anchors.bottom: !currentChat.isServer ? textInputView.top : parent.bottom
|
||||||
anchors.bottomMargin: !currentChat.isServer ? 30 : 0
|
anchors.bottomMargin: !currentChat.isServer ? 30 : 0
|
||||||
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
ScrollBar.vertical.policy: ScrollBar.AlwaysOff
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
@ -729,6 +729,7 @@ Window {
|
|||||||
visible: ModelList.installedModels.count !== 0
|
visible: ModelList.installedModels.count !== 0
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
model: chatModel
|
model: chatModel
|
||||||
|
ScrollBar.vertical: ScrollBar { policy: ScrollBar.AlwaysOn }
|
||||||
|
|
||||||
Accessible.role: Accessible.List
|
Accessible.role: Accessible.List
|
||||||
Accessible.name: qsTr("List of prompt/response pairs")
|
Accessible.name: qsTr("List of prompt/response pairs")
|
||||||
|
@ -63,15 +63,15 @@ Drawer {
|
|||||||
anchors.top: newChat.bottom
|
anchors.top: newChat.bottom
|
||||||
anchors.bottom: checkForUpdatesButton.top
|
anchors.bottom: checkForUpdatesButton.top
|
||||||
anchors.bottomMargin: 10
|
anchors.bottomMargin: 10
|
||||||
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
ScrollBar.vertical.policy: ScrollBar.AlwaysOff
|
||||||
clip: true
|
clip: true
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
id: conversationList
|
id: conversationList
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.rightMargin: 10
|
anchors.rightMargin: 10
|
||||||
|
|
||||||
model: ChatListModel
|
model: ChatListModel
|
||||||
|
ScrollBar.vertical: ScrollBar { policy: ScrollBar.AlwaysOn }
|
||||||
|
|
||||||
delegate: Rectangle {
|
delegate: Rectangle {
|
||||||
id: chatRectangle
|
id: chatRectangle
|
||||||
|
Loading…
Reference in New Issue
Block a user