Text steps out of line on a rectangle with radius when ListView is delegated to the rectangle. (Solution without using Qt5Compat.GraphicalEffects and OpacityMask)
-
Hi. I have qml ListView and inside it, I load My ListModel. My delegate component is a rectangle that holds a Text component. the Problem is when I scroll the ListView some alphabet like 'H' step out of the defined Rectangle. My defined rectangle has a round edge (radius), and the alphabet appears on the rounded edge. The problem is also for highlight when it is assigned with rectangle. Is there any solution to it(not Qt5Compat.GraphicalEffects and OpacityMask)?
The code sample: