mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
29 lines
835 B
QML
29 lines
835 B
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
|
|
import Linphone
|
|
/*
|
|
Layout with line separator used in several views
|
|
*/
|
|
|
|
ColumnLayout {
|
|
spacing: Math.round(15 * DefaultStyle.dp)
|
|
property alias content: contentLayout.data
|
|
property alias contentLayout: contentLayout
|
|
implicitHeight: contentLayout.implicitHeight + Math.max(Math.round(1 * DefaultStyle.dp), 1) + spacing
|
|
ColumnLayout {
|
|
id: contentLayout
|
|
spacing: Math.round(8 * DefaultStyle.dp)
|
|
// width: parent.width
|
|
// Layout.fillWidth: true
|
|
// Layout.preferredHeight: childrenRect.height
|
|
// Layout.preferredWidth: parent.width
|
|
// Layout.leftMargin: Math.round(8 * DefaultStyle.dp)
|
|
}
|
|
Rectangle {
|
|
color: DefaultStyle.main2_200
|
|
Layout.fillWidth: true
|
|
Layout.preferredHeight: Math.max(Math.round(1 * DefaultStyle.dp), 1)
|
|
width: parent.width
|
|
}
|
|
}
|