mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
24 lines
544 B
QML
Executable file
24 lines
544 B
QML
Executable file
import QtQuick 2.0
|
|
import QtQuick.Controls 1.0
|
|
import QtQuick.Layouts 1.0
|
|
|
|
GroupBox {
|
|
id: configSection
|
|
Layout.fillWidth: true
|
|
default property alias _contentChildren: content.data
|
|
|
|
ColumnLayout {
|
|
id: content
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
|
|
// Workaround for crash when using default on a Layout.
|
|
// https://bugreports.qt.io/browse/QTBUG-52490
|
|
// Still affecting Qt 5.7.0
|
|
Component.onDestruction: {
|
|
while (children.length > 0) {
|
|
children[children.length - 1].parent = configSection
|
|
}
|
|
}
|
|
}
|
|
}
|