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

c# SetCompatibleTextRenderingDefault must be called before the first -

c++ - Fill runtime data at compile time with templates -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -