Browse Source

Changed ScrollView to QGCFlickable

QGC4.4
mak 7 years ago
parent
commit
b11194aca1
  1. 9
      src/ViewWidgets/CustomCommandWidget.qml

9
src/ViewWidgets/CustomCommandWidget.qml

@ -87,12 +87,13 @@ QGCView {
} }
} }
} }
ScrollView { QGCFlickable {
id: scrollContainer id: container
anchors.fill: loader anchors.fill: loader
contentItem: QGCLabel { contentHeight: textOutput.height
QGCLabel {
id: textOutput id: textOutput
width: scrollContainer.width - _margins*2 width: container.width
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
textFormat: Text.RichText textFormat: Text.RichText
visible: !loader.visible visible: !loader.visible

Loading…
Cancel
Save