pragma ComponentBehavior: Bound import QtQuick import QtQuick.Controls import archpack ListView { id: root clip: true spacing: 2 model: consoleLogData property bool follow: true onMovementEnded: follow = atYEnd onCountChanged: if (follow) positionViewAtEnd() onModelChanged: if (follow) positionViewAtEnd() property var consoleLogData: "" ScrollBar.vertical: ScrollBar { policy: ScrollBar.AsNeeded width: 6 } delegate: Text { width: root.width text: modelData color: Theme.color3 font.family: "monospace" font.pixelSize: 11 wrapMode: Text.WrapAnywhere // из-зa предупреждение qmllint required property var modelData } }