Index: sources/gui/qml/components/GridSelection.qml =================================================================== diff -u -rcc8ee87091a1f5d69136f6e5508f57014c05d02d -r38d3c6a41726ec1a02abb4eb6f63524628511a50 --- sources/gui/qml/components/GridSelection.qml (.../GridSelection.qml) (revision cc8ee87091a1f5d69136f6e5508f57014c05d02d) +++ sources/gui/qml/components/GridSelection.qml (.../GridSelection.qml) (revision 38d3c6a41726ec1a02abb4eb6f63524628511a50) @@ -37,21 +37,22 @@ property alias titleColor : _title.color property var labels : [] property bool active : false + property bool valid : true readonly property int _itemCount: labels.length readonly property int _rowCount : Math.ceil( _itemCount / _colCount ) readonly property int _colCount : 2 anchors.horizontalCenter: parent.horizontalCenter color : Colors.transparent - height : _root.rowCount * _root.optionHeight + height : _root.rowCount * _root.optionHeight + _title.height + _grid.anchors.topMargin width : _root.colCount * _root.optionWidth signal clicked(int vIndex) Text { id : _title text : "" - color : Colors.textMain; + color : _root.valid ? Colors.textMain : Colors.createTreatmentInvalidParam font.pixelSize : Fonts.fontPixelFluidText }