qt - ListView exceeding parent area -


this question has answer here:

i'm using listview , i'm loading onto rectangle. while scrolling content or down content not correctly hidden , remains visible user. can me on issue?

as reported documentation:

note: views do not enable clip automatically. if view not clipped item or screen, necessary set clip: true in order have out of view items clipped nicely.

hence, experiencing common behaviour , should either 1) clip view via other items (e.g. header rectangle , footer rectangle z:infinite or set clip property true, i.e.

listview{    //...    clip:true    //... } 

clipping has perfomance disavantages can affect application grows. hence, usage, outside views scenario, should evaluated carefully.


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -