Qml SwipeView隐藏未选中页面

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_21078557/article/details/83543213

本文解决问题:隐藏 Qml SwipeView 组件未选中的子项

在SwipeView 组件中添加 clip: true
clip: true
clip: true
clip: true
clip: true
clip: true

没有添加此属性:如图所示:
在这里插入图片描述

添加属性后:
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_21078557/article/details/83543213
QML
今日推荐