Skip to content

Commit

Permalink
Make hidden header option to work as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
CODeRUS committed Mar 3, 2017
1 parent c762eae commit e85c12b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ BackgroundRectangle

id: dialogtopheader
width: parent.width
height: Theme.itemSizeSmall + (Theme.paddingSmall * 2)
implicitHeight: Theme.itemSizeSmall + (Theme.paddingSmall * 2)

Column
{
Expand Down
1 change: 1 addition & 0 deletions harbour-sailorgram/qml/pages/dialog/DialogPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Page
statusText: messagesmodel.statusText
peer: dialogpage.dialog
visible: !context.chatheaderhidden && dialogpage.isPortrait
height: visible ? implicitHeight : 0
}

MessagesList
Expand Down

0 comments on commit e85c12b

Please sign in to comment.