diff --git a/src/Qt5/imports/FluentUI/Controls/FluCalendarPicker.qml b/src/Qt5/imports/FluentUI/Controls/FluCalendarPicker.qml index 3fb76eb5..21dfa1e2 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluCalendarPicker.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluCalendarPicker.qml @@ -243,7 +243,6 @@ Rectangle { var toYear = calender_model.to.getFullYear() return toYear-fromYear+1 } - snapMode: GridView.SnapOneRow highlightRangeMode: GridView.StrictlyEnforceRange onCurrentIndexChanged:{ var year = currentIndex + calender_model.from.getFullYear() @@ -349,7 +348,6 @@ Rectangle { ListView{ id:listview ScrollBar.vertical: FluScrollBar {} - snapMode: ListView.SnapOneItem highlightRangeMode: ListView.StrictlyEnforceRange clip: true boundsBehavior: ListView.StopAtBounds @@ -493,7 +491,6 @@ Rectangle { ListView{ id:listview property bool isCompleted: false - snapMode: ListView.SnapOneItem Layout.fillWidth: true Layout.fillHeight: true highlightRangeMode: ListView.StrictlyEnforceRange diff --git a/src/Qt6/imports/FluentUI/Controls/FluCalendarPicker.qml b/src/Qt6/imports/FluentUI/Controls/FluCalendarPicker.qml index cfb8aced..7b2d755f 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluCalendarPicker.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluCalendarPicker.qml @@ -242,7 +242,6 @@ Rectangle { var toYear = calender_model.to.getFullYear() return toYear-fromYear+1 } - snapMode: GridView.SnapOneRow highlightRangeMode: GridView.StrictlyEnforceRange onCurrentIndexChanged:{ var year = currentIndex + calender_model.from.getFullYear() @@ -348,7 +347,6 @@ Rectangle { ListView{ id:listview ScrollBar.vertical: FluScrollBar {} - snapMode: ListView.SnapOneItem highlightRangeMode: ListView.StrictlyEnforceRange clip: true boundsBehavior: ListView.StopAtBounds @@ -492,7 +490,6 @@ Rectangle { ListView{ id:listview property bool isCompleted: false - snapMode: ListView.SnapOneItem Layout.fillWidth: true Layout.fillHeight: true highlightRangeMode: ListView.StrictlyEnforceRange