Focus textfield with radiobutton -- works fine.

This commit is contained in:
Sebastian Kügler 2013-02-19 22:37:03 +01:00
parent 48cd938931
commit 5d1717fcfa

View File

@ -105,11 +105,17 @@ PlasmaComponents.Page {
PlasmaComponents.RadioButton {
text: "RadioButton"
//iconSource: "call-stop"
onCheckedChanged: if (checked) tfield.forceActiveFocus()
}
PlasmaComponents.TextField {
id: tfield
text: "input here"
}
}
// PlasmaComponents.TextArea {
// height: _h*2
// spacing: _s
// }
PlasmaComponents.Label {
text: "iconSizes.small : " + theme.iconSizes.small +
", iconSizes.desktop: " + theme.iconSizes.desktop +