D
D
Denis Popov2015-10-14 05:46:06
Qt
Denis Popov, 2015-10-14 05:46:06

What is happening with the ListView and how to fix it?

When the last element is removed from the model (well, or when clearing clear ()), the listView is displayed randomly, then the title will leave, then the footer.
86ea6f06ecf5479698f8cf712a6bcb24.pnged71db00cb744bb2a9509845c83eaefd.png
It should look like this:
d611f94c92d643e8a113ccedab4f4a51.png
Maybe you need to redraw the page somehow or what?
Page code: pastebin.com/G1H6ega3

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jacob E, 2015-10-14
@Zifix

It’s hard to say something without code, it’s better to try on a minimal example with colored rectangles, and not on such huge empty screens where nothing is clear.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question