assign default sizes

take them frm the old implementation
This commit is contained in:
Marco Martin 2014-09-02 14:34:54 +02:00
parent cf93514991
commit a9370b744f

View File

@ -33,6 +33,9 @@ QtQuickControlStyle.TextFieldStyle {
selectedTextColor: theme.viewBackgroundColor
background: Item {
implicitHeight: theme.mSize(theme.defaultFont).height * 1.6
implicitWidth: theme.mSize(theme.defaultFont).width * 12
Private.TextFieldFocus {
id: hover
state: control.activeFocus ? "focus" : (control.hovered ? "hover" : "hidden")