Index: sources/gui/qml/components/DebugDataColumn.qml =================================================================== diff -u -r89be2d248cac3f748b704cd62408cf8911991039 -r81aec0b1316a43c46f8c27c773d8f95e695ec273 --- sources/gui/qml/components/DebugDataColumn.qml (.../DebugDataColumn.qml) (revision 89be2d248cac3f748b704cd62408cf8911991039) +++ sources/gui/qml/components/DebugDataColumn.qml (.../DebugDataColumn.qml) (revision 81aec0b1316a43c46f8c27c773d8f95e695ec273) @@ -35,43 +35,45 @@ property bool isOpened : false width : _column.implicitWidth - height : isTouchRect || isOpened ? _column.implicitHeight + 15 : 30 - radius : 8.5 + height : isTouchRect || isOpened ? _column.implicitHeight + 10 : _column.headerHeight + radius : 12 color : Colors.panelBackgroundColor - clip: true + clip : true border { width: 1 color: Colors.panelBorderColor } + MouseArea { + anchors.fill : parent + onClicked : { + _root.isOpened = ! _root.isOpened + } + } + Column { id: _column + property alias headerHeight: _header.height Rectangle { id: _header width : _column.width - height : _title.implicitHeight + height : _title.implicitHeight + 10 color : "#3A5A7B" - radius : 8.5 + radius : 6 visible : _title.text.length > 0 border { width: 1 color: "#6B7C8F" } + Text { id: _title text : _root.title horizontalAlignment : _root.horizontalAlignmentTitle color : Colors.offWhite font.pixelSize : fontPixelSizeTitle font.family : Fonts.fontFamilyFixed - anchors.fill : parent + anchors.centerIn : parent } - - MouseArea { - anchors.fill : parent - onClicked : { - _root.isOpened = ! _root.isOpened - } - } } Repeater { id: _repeater @@ -83,7 +85,7 @@ columns : 2 columnSpacing : 5 width : _text.implicitWidth + _value.width + leftPadding * 2 // content width + left and right padding - height : ( isTouchRect ? _value.implicitHeight : _text.implicitHeight + 1 ) + height : isTouchRect ? _value.implicitHeight : _text.implicitHeight + 1 leftPadding : 10 rightPadding : leftPadding