main
zhuzihcu 2023-06-08 14:32:04 +08:00
parent c25e2362c4
commit ca57b16521
1 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@ ComboBox {
highlighted: control.highlightedIndex === index highlighted: control.highlightedIndex === index
hoverEnabled: control.hoverEnabled hoverEnabled: control.hoverEnabled
} }
focusPolicy:Qt.TabFocus
indicator: FluIcon { indicator: FluIcon {
x: control.mirrored ? control.padding : control.width - width - control.padding x: control.mirrored ? control.padding : control.width - width - control.padding
y: control.topPadding + (control.availableHeight - height) / 2 y: control.topPadding + (control.availableHeight - height) / 2
@ -75,7 +75,8 @@ ComboBox {
radius: 4 radius: 4
FluFocusRectangle{ FluFocusRectangle{
visible: control.activeFocus visible: control.activeFocus
radius:8 radius:4
anchors.margins: -2
} }
color:{ color:{
if(disabled){ if(disabled){