5import QGroundControl.Controls
8 property var factList ///< List of Facts to show
9 property var factLabels ///< Labels for facts, if not set, use Fact.name or Fact.shortDescription
10 property bool useNameForLabels: true ///< true: Use Fact.name for labels, false: Use Fact.shortDescription
13 flow: GridLayout.TopToBottom
16 model: parent.factList
21 return factLabels[index]
22 } else if (useNameForLabels) {
25 return modelData.shortDescription
32 model: parent.factList
35 Layout.fillWidth: true