Is this the best place to put the clip?
commit9d6f11cd01d2deeebb2c5bea68da96aece1d24ab
authorAlbert Astals <albert.astals@canonical.com>
dateWed 12 Jun 2013, 10:28 (13 years ago)
parent8d8d033
Components/Carousel.qml+2
@@ -24,6 +24,8 @@ import "carousel.js" as CarouselJS
2424Item {
2525 id: carousel
2626
27+ clip: true // Don't leak horizontally to other dashes
28+
2729 /// The component to be used as delegate. This component has to be derived from BaseCarouselDelegate
2830 property Component itemComponent
2931 /// Model for the Carousel, which has to be a model usable by a ListView