assign default sizes
take them frm the old implementation
This commit is contained in:
parent
cf93514991
commit
a9370b744f
@ -33,6 +33,9 @@ QtQuickControlStyle.TextFieldStyle {
|
|||||||
selectedTextColor: theme.viewBackgroundColor
|
selectedTextColor: theme.viewBackgroundColor
|
||||||
|
|
||||||
background: Item {
|
background: Item {
|
||||||
|
implicitHeight: theme.mSize(theme.defaultFont).height * 1.6
|
||||||
|
implicitWidth: theme.mSize(theme.defaultFont).width * 12
|
||||||
|
|
||||||
Private.TextFieldFocus {
|
Private.TextFieldFocus {
|
||||||
id: hover
|
id: hover
|
||||||
state: control.activeFocus ? "focus" : (control.hovered ? "hover" : "hidden")
|
state: control.activeFocus ? "focus" : (control.hovered ? "hover" : "hidden")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user