linphone-desktop/Linphone/view/Control/Container/Main/MainRightPanel.qml
Gaelle Braud 06647f002a resize the app according to screen definition
fix ui size according to screen resolution
2025-03-07 11:36:34 +01:00

28 lines
627 B
QML

import QtQuick
import QtQuick.Effects
import QtQuick.Layouts
import QtQuick.Controls.Basic as Control
import Linphone
import UtilsCpp 1.0
ColumnLayout {
id: mainItem
property color panelColor: DefaultStyle.grey_100
property alias headerContent: rightPanelHeader.children
property alias content: rightPanelContent.children
spacing: 0
Rectangle {
id: rightPanelHeader
color: DefaultStyle.grey_0
Layout.preferredHeight: Math.round(57 * DefaultStyle.dp)
Layout.fillWidth: true
z: 1
}
Rectangle {
id: rightPanelContent
color: mainItem.panelColor
Layout.fillWidth: true
Layout.fillHeight: true
}
}