Index: sources/gui/qml/components/ReviewContainer.qml =================================================================== diff -u -rc16cfee6212ad1ba9f788c41d4a4c916daa43c9c -rcbe04ec89eb7261a6950871dc89a3eb7f18ce9fc --- sources/gui/qml/components/ReviewContainer.qml (.../ReviewContainer.qml) (revision c16cfee6212ad1ba9f788c41d4a4c916daa43c9c) +++ sources/gui/qml/components/ReviewContainer.qml (.../ReviewContainer.qml) (revision cbe04ec89eb7261a6950871dc89a3eb7f18ce9fc) @@ -15,6 +15,11 @@ property var precision : Array(label.count).fill(0) // default all 0 precision property string title : "" + property int cellHeight : Variables.createRxLabelUnitContainerHeight + property int valuePixelSize : Fonts.fontPixelValueControl + property color headerColor : Colors.panelBackgroundColor + property int delegateFontWeight : Font.Normal + height : _column.implicitHeight + 10 width : parent.width radius : 9 @@ -29,13 +34,13 @@ Column { id: _column Rectangle { id: _header width : _root.width - height : Variables.createRxLabelUnitContainerHeight - color : Colors.panelBackgroundColor + height : _root.cellHeight + color : _root.headerColor radius : _root.radius border { - width: 1 - color: Colors.panelBorderColor + width: _root.border.width + color: _root.border.color } Text { id: _title @@ -58,11 +63,13 @@ width : delegate.implicitWidth delegate : LabelUnitContainer { id: _delegate - text : modelData - color : Colors.transparent - width : parent.width - unitText : _root.units[index] - border.width: 0 + text : modelData + color : Colors.transparent + width : parent.width + height : _root.cellHeight + unitText : _root.units[index] + border.width : 0 + titleFontWeight : _root.delegateFontWeight contentItem : Item { id: _contentItem Row { id: _row @@ -77,7 +84,7 @@ text : typeof _root.initial[index] === "number" ? _root.initial[index].toFixed(_root.precision[index]) ?? "" : _root.initial[index] ?? "" color : Colors.offWhite - font.pixelSize : Fonts.fontPixelValueControl + font.pixelSize : _root.valuePixelSize verticalAlignment : Text.AlignVCenter visible : _root.initial[index] !== "" } @@ -86,7 +93,7 @@ text : typeof _root.actual[index] === "number" ? _root.actual[index].toFixed(_root.precision[index]) ?? "" : _root.actual[index] ?? "" color : Colors.ufVolumeGoalText - font.pixelSize : Fonts.fontPixelValueControl + font.pixelSize : _root.valuePixelSize verticalAlignment : Text.AlignVCenter visible : _root.actual[index] !== "" }