fix ui contact edition
This commit is contained in:
parent
f97ca67a56
commit
b71664fd5b
1 changed files with 7 additions and 9 deletions
|
|
@ -5,26 +5,24 @@ import QtQuick.Controls as Control
|
||||||
import Linphone
|
import Linphone
|
||||||
import UtilsCpp 1.0
|
import UtilsCpp 1.0
|
||||||
|
|
||||||
Item {
|
ColumnLayout {
|
||||||
id: mainItem
|
id: mainItem
|
||||||
property color panelColor: DefaultStyle.grey_100
|
property color panelColor: DefaultStyle.grey_100
|
||||||
property alias headerContent: rightPanelHeader.children
|
property alias headerContent: rightPanelHeader.children
|
||||||
property alias content: rightPanelContent.children
|
property alias content: rightPanelContent.children
|
||||||
|
spacing: 0
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: rightPanelHeader
|
id: rightPanelHeader
|
||||||
color: DefaultStyle.grey_0
|
color: DefaultStyle.grey_0
|
||||||
anchors.top: parent.top
|
Layout.preferredHeight: 57 * DefaultStyle.dp
|
||||||
anchors.left: parent.left
|
Layout.fillWidth: true
|
||||||
anchors.right: parent.right
|
z: 1
|
||||||
height: 57 * DefaultStyle.dp
|
|
||||||
}
|
}
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: rightPanelContent
|
id: rightPanelContent
|
||||||
color: mainItem.panelColor
|
color: mainItem.panelColor
|
||||||
anchors.top: rightPanelHeader.bottom
|
Layout.fillWidth: true
|
||||||
anchors.left: parent.left
|
Layout.fillHeight: true
|
||||||
anchors.right: parent.right
|
|
||||||
anchors.bottom: parent.bottom
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue