added txt support

This commit is contained in:
Agel committed 2026-03-15 21:33:18 +01:00
1 parent 3c0037cfc9
commit 64a70bc4cf
22 files changed
+800 -186

No files matched your search

+6 -1
View File
@@ -10,12 +10,16 @@ Rectangle {
Flickable {
anchors.fill: parent
anchors.margins: 12
anchors.topMargin: 0
anchors.bottomMargin: 0
anchors.leftMargin: 12
anchors.rightMargin: 0
contentHeight: contentText.implicitHeight
clip: true
ScrollBar.vertical: ScrollBar {
policy: ScrollBar.AsNeeded
padding: 0
contentItem: Rectangle {
implicitWidth: 18
radius: 3
@@ -30,6 +34,7 @@ Rectangle {
Text {
id: contentText
width: parent.width
rightPadding: 20
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
textFormat: Text.RichText
font.pixelSize: 16