linphone-desktop/Linphone/view/Control/Container/Section.qml
2024-10-17 13:21:39 +02:00

29 lines
No EOL
719 B
QML

import QtQuick 2.15
import QtQuick.Layouts
import Linphone
/*
Layout with line separator used in several views
*/
ColumnLayout {
spacing: 15 * mainWindow.dp
property alias content: contentLayout.data
property alias contentLayout: contentLayout
implicitHeight: contentLayout.implicitHeight + 1 * mainWindow.dp + spacing
ColumnLayout {
id: contentLayout
spacing: 8 * mainWindow.dp
// width: parent.width
// Layout.fillWidth: true
// Layout.preferredHeight: childrenRect.height
// Layout.preferredWidth: parent.width
// Layout.leftMargin: 8 * mainWindow.dp
}
Rectangle {
color: DefaultStyle.main2_200
Layout.fillWidth: true
Layout.preferredHeight: 1 * mainWindow.dp
width: parent.width
}
}