DebugConsole: add border "prompt" to delegates
This commit is contained in:
parent
192112ab4e
commit
d6062a8320
|
@ -183,20 +183,18 @@ HDrawer {
|
||||||
|
|
||||||
text:
|
text:
|
||||||
`<div style="white-space: pre-wrap">` +
|
`<div style="white-space: pre-wrap">` +
|
||||||
`<font color="${theme.chat.message.quote}">` +
|
`<font color="${theme.colors.accentText}">` +
|
||||||
utils.plain2Html(model.input) +
|
utils.plain2Html(model.input) +
|
||||||
"</font>" +
|
"</font>" +
|
||||||
(
|
(model.input && model.output ? "<br>" : "") +
|
||||||
model.output ?
|
(model.output ? utils.plain2Html(model.output) : "") +
|
||||||
"<br>" + utils.plain2Html(model.output) :
|
|
||||||
""
|
|
||||||
) +
|
|
||||||
"</div>"
|
"</div>"
|
||||||
|
|
||||||
textFormat: HSelectableLabel.RichText
|
textFormat: HSelectableLabel.RichText
|
||||||
wrapMode: HLabel.Wrap
|
wrapMode: HLabel.Wrap
|
||||||
color: model.error ? theme.colors.errorText : theme.colors.text
|
color: model.error ? theme.colors.errorText : theme.colors.text
|
||||||
font.family: theme.fontFamily.mono
|
font.family: theme.fontFamily.mono
|
||||||
|
leftPadding: theme.spacing
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
|
@ -251,6 +249,15 @@ HDrawer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
width: 1
|
||||||
|
height: parent.height
|
||||||
|
color:
|
||||||
|
model.error ?
|
||||||
|
theme.colors.negativeBackground :
|
||||||
|
theme.colors.accentElement
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
FlickShortcuts {
|
FlickShortcuts {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user