Focus textfield with radiobutton -- works fine.

wilder-5.14
Sebastian Kügler 13 years ago
parent f589c6a9c6
commit 8e7e93abef
  1. 6
      applets/testcomponentsapplet/contents/ui/IconsPage.qml

@ -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 +

Loading…
Cancel
Save