diff --git a/harbour-sailorgram/qml/components/dialog/DialogTopHeader.qml b/harbour-sailorgram/qml/components/dialog/DialogTopHeader.qml index c12a489e..a87a2814 100644 --- a/harbour-sailorgram/qml/components/dialog/DialogTopHeader.qml +++ b/harbour-sailorgram/qml/components/dialog/DialogTopHeader.qml @@ -12,7 +12,7 @@ BackgroundRectangle id: dialogtopheader width: parent.width - height: Theme.itemSizeSmall + (Theme.paddingSmall * 2) + implicitHeight: Theme.itemSizeSmall + (Theme.paddingSmall * 2) Column { diff --git a/harbour-sailorgram/qml/pages/dialog/DialogPage.qml b/harbour-sailorgram/qml/pages/dialog/DialogPage.qml index c7c7eb8e..500c1da5 100644 --- a/harbour-sailorgram/qml/pages/dialog/DialogPage.qml +++ b/harbour-sailorgram/qml/pages/dialog/DialogPage.qml @@ -104,6 +104,7 @@ Page statusText: messagesmodel.statusText peer: dialogpage.dialog visible: !context.chatheaderhidden && dialogpage.isPortrait + height: visible ? implicitHeight : 0 } MessagesList