mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-08 07:10:32 +00:00
Disable the text field from user interaction.
This commit is contained in:
parent
4b190cc1e5
commit
28ad6c4393
4
main.qml
4
main.qml
@ -25,7 +25,7 @@ Window {
|
|||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
visible: LLM.isModelLoaded
|
visible: LLM.isModelLoaded
|
||||||
|
|
||||||
TextField {
|
Label {
|
||||||
id: modelNameField
|
id: modelNameField
|
||||||
color: "#d1d5db"
|
color: "#d1d5db"
|
||||||
padding: 20
|
padding: 20
|
||||||
@ -34,7 +34,6 @@ Window {
|
|||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: "#202123"
|
color: "#202123"
|
||||||
}
|
}
|
||||||
focus: false
|
|
||||||
horizontalAlignment: TextInput.AlignHCenter
|
horizontalAlignment: TextInput.AlignHCenter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -308,6 +307,7 @@ Window {
|
|||||||
color: "#d1d5db"
|
color: "#d1d5db"
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
focus: false
|
focus: false
|
||||||
|
readOnly: true
|
||||||
padding: 20
|
padding: 20
|
||||||
font.pixelSize: 24
|
font.pixelSize: 24
|
||||||
cursorVisible: currentResponse ? (LLM.response !== "" ? LLM.responseInProgress : false) : false
|
cursorVisible: currentResponse ? (LLM.response !== "" ? LLM.responseInProgress : false) : false
|
||||||
|
Loading…
Reference in New Issue
Block a user