linphone-desktop/Linphone/view/Control/Container/Section.qml
2025-10-23 12:39:16 +02:00

31 lines
883 B
QML

import QtQuick
import QtQuick.Layouts
import Linphone
import "qrc:/qt/qml/Linphone/view/Control/Tool/Helper/utils.js" as Utils
/*
Layout with line separator used in several views
*/
ColumnLayout {
spacing: Utils.getSizeWithScreenRatio(15)
property alias content: contentLayout.data
property alias contentLayout: contentLayout
implicitHeight: contentLayout.implicitHeight + Utils.getSizeWithScreenRatio(1) + spacing
ColumnLayout {
id: contentLayout
spacing: Utils.getSizeWithScreenRatio(8)
// width: parent.width
// Layout.fillWidth: true
// Layout.preferredHeight: childrenRect.height
// Layout.preferredWidth: parent.width
// Layout.leftMargin: Utils.getSizeWithScreenRatio(8)
}
Rectangle {
color: DefaultStyle.main2_200
Layout.fillWidth: true
Layout.preferredHeight: Utils.getSizeWithScreenRatio(1)
width: parent.width
}
}