6import QGroundControl.Controls
10 Layout.fillWidth: true
11 spacing: ScreenTools.defaultFontPixelWidth * 2
13 property var tileSet: null
17 property int _tileCount: tileSet.totalTileCount
20 Layout.fillWidth: true
26 text: tileSet.downloadStatus + (_tileCount > 0 ? " (" + _tileCount + " tiles)" : "")
30 width: sizeLabel.height * 0.5
31 height: sizeLabel.height * 0.5
33 color: tileSet.complete ? "#31f55b" : "#fc5656"
34 opacity: sizeLabel.text.length > 0 ? 1 : 0
39 onClicked: control.clicked()