mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-07 03:20:26 +00:00
deduplicate qml: create and use MyCheckBox and MyTextField
This commit is contained in:
14
gpt4all-chat/qml/MyTextField.qml
Normal file
14
gpt4all-chat/qml/MyTextField.qml
Normal file
@@ -0,0 +1,14 @@
|
||||
import QtCore
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Controls.Basic
|
||||
|
||||
TextField {
|
||||
id: myTextField
|
||||
padding: 10
|
||||
background: Rectangle {
|
||||
implicitWidth: 150
|
||||
color: theme.backgroundLighter
|
||||
radius: 10
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user