🐛 | Fixed widget window size and settings tab formating.
This commit is contained in:
@@ -1,14 +1,26 @@
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Controls as QQC2
|
||||
import org.kde.kirigami as Kirigami
|
||||
|
||||
Kirigami.FormLayout {
|
||||
Kirigami.Page {
|
||||
id: page
|
||||
property alias cfg_systemPrompt: systemPrompt.text
|
||||
|
||||
QQC2.TextArea {
|
||||
id: systemPrompt
|
||||
text: page.cfg_systemPrompt
|
||||
placeholderText: page.cfg_systemPrompt.default
|
||||
contentItem: ColumnLayout {
|
||||
Kirigami.Heading {
|
||||
text: "System Prompt"
|
||||
level: 2
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
QQC2.TextArea {
|
||||
id: systemPrompt
|
||||
placeholderText: "Enter the system prompt here..."
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: 240
|
||||
wrapMode: TextEdit.Wrap
|
||||
clip: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user