Commit 03724f8d authored by Yaroslav Beltukov's avatar Yaroslav Beltukov Committed by Arjen Hiemstra
Browse files

Update CompactRepresentation of PieChart to fit on small panels

parent 846aa808
......@@ -36,6 +36,8 @@ Faces.SensorFace {
id: root
contentItem: ColumnLayout {
PieChart {
Layout.minimumWidth: -1
Layout.maximumHeight: root.width
Layout.fillWidth: true
Layout.fillHeight: !label.visible
Layout.alignment: Qt.AlignCenter
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment