added txt support
This commit is contained in:
1 parent
3c0037cfc9
commit
64a70bc4cf
22 files changed
+800
-186
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user