add a focus effect
This commit is contained in:
parent
877c2a3325
commit
5961bcaaa7
@ -48,6 +48,11 @@ ScrollViewStyle {
|
|||||||
visible: control.backgroundVisible
|
visible: control.backgroundVisible
|
||||||
imagePath: "widgets/lineedit"
|
imagePath: "widgets/lineedit"
|
||||||
prefix: "base"
|
prefix: "base"
|
||||||
|
Private.TextFieldFocus {
|
||||||
|
id: hover
|
||||||
|
state: control.activeFocus ? "focus" : (control.hovered ? "hover" : "hidden")
|
||||||
|
anchors.fill: base
|
||||||
|
}
|
||||||
}
|
}
|
||||||
property Component cursorHandle
|
property Component cursorHandle
|
||||||
property Component selectionHandle
|
property Component selectionHandle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user