do not override TextField.activeFocus property
In QtQuick2, we cannot override a property anymore. In the case of TextField, this means we'll have to rely on Qt for focus handling.
This commit is contained in:
parent
58f719d9aa
commit
48cd938931
@ -270,7 +270,7 @@ FocusScope {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Overriding QtQuick.Item activeFocus property.
|
// Overriding QtQuick.Item activeFocus property.
|
||||||
property alias activeFocus: textInput.activeFocus
|
//property alias activeFocus: textInput.activeFocus
|
||||||
|
|
||||||
// TODO: fix default size
|
// TODO: fix default size
|
||||||
implicitWidth: theme.defaultFont.mSize.width*12 + base.internalPadding*2
|
implicitWidth: theme.defaultFont.mSize.width*12 + base.internalPadding*2
|
||||||
|
Loading…
Reference in New Issue
Block a user