Skip to content

Add a section label at the top which shows the date label of the next section

Updated

Add a section label at the top which shows the date label of the next section up. This means that the user will always be able to see the date of all messages on screen.

image

From the feedback given I've added a background at the top. I also added an underline to the heading which applies both at the top and in the listView since they use the same component. I added it originally for the top because I felt it looked a bit weird having messages appear from behind a heading background the same colour as the listView background.

Note: I know the gaps between messages are not right. I had to set the spacing in the listView to 0 to prevent itemAt returning null. I plan to add it back in as part of the delegate code before it would be merge.

Fixes BUG:454880

Edited by James Graham

Merge request reports