Issue
Code backup
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
|
||||
Rectangle {
|
||||
id: scrollableBox
|
||||
clip: true
|
||||
color: "gray"
|
||||
|
||||
property alias text: content.text
|
||||
|
||||
Text {
|
||||
id: content
|
||||
anchors.left: scrollableBox.left
|
||||
anchors.right: scrollableBox.right
|
||||
leftPadding: 5
|
||||
rightPadding: 12
|
||||
topPadding: 3
|
||||
bottomPadding: 3
|
||||
wrapMode: Text.WrapAnywhere
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user