1
0
mirror of https://github.com/zhuzichu520/FluentUI.git synced 2025-04-09 01:19:39 +08:00

Merge pull request from kevinlq/main

优化FluComboBox.qml 下拉框显示效果
This commit is contained in:
zhuzichu 2023-10-21 22:16:29 +08:00 committed by GitHub
commit 25e385c06e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions
src
Qt5/imports/FluentUI/Controls
Qt6/imports/FluentUI/Controls

@ -108,6 +108,7 @@ T.ComboBox {
model: control.delegateModel model: control.delegateModel
currentIndex: control.highlightedIndex currentIndex: control.highlightedIndex
highlightMoveDuration: 0 highlightMoveDuration: 0
boundsMovement: Flickable.StopAtBounds
T.ScrollIndicator.vertical: ScrollIndicator { } T.ScrollIndicator.vertical: ScrollIndicator { }
} }
enter: Transition { enter: Transition {

@ -108,6 +108,7 @@ T.ComboBox {
model: control.delegateModel model: control.delegateModel
currentIndex: control.highlightedIndex currentIndex: control.highlightedIndex
highlightMoveDuration: 0 highlightMoveDuration: 0
boundsMovement: Flickable.StopAtBounds
T.ScrollIndicator.vertical: ScrollIndicator { } T.ScrollIndicator.vertical: ScrollIndicator { }
} }
enter: Transition { enter: Transition {