Index: sources/gui/qml/dialogs/diagnostics/DiagnosticsBase.qml =================================================================== diff -u -r3c07dc803109f716937b692cb4a67a5324bb9ca3 -r89be2d248cac3f748b704cd62408cf8911991039 --- sources/gui/qml/dialogs/diagnostics/DiagnosticsBase.qml (.../DiagnosticsBase.qml) (revision 3c07dc803109f716937b692cb4a67a5324bb9ca3) +++ sources/gui/qml/dialogs/diagnostics/DiagnosticsBase.qml (.../DiagnosticsBase.qml) (revision 89be2d248cac3f748b704cd62408cf8911991039) @@ -24,25 +24,20 @@ Item { id: _root + property Item contentItem : null + property alias contentArea : _contentArea + property int spacing : Variables.defaultMargin * 1.5 - property string title: "Information" - - function col(idx, gap = 0) { - return idx * 155 + gap - } - - function row(idx, gap = 10) { - return idx * 100 + 3*gap + _title.height - } - - Label { id: _title - objectName: "_DiagnosticsBaseTitle" - text: _root.title - font.pixelSize: 60 - horizontalAlignment: Text.AlignHCenter + ContentArea { id : _contentArea anchors { - top: _root.top - horizontalCenter: _root.horizontalCenter + top : parent.top + topMargin : Variables.defaultMargin * 4 + left : _root.left + right : _root.right + bottom : _root.bottom + margins : _root.spacing } + + contentItem: _root.contentItem } }