Focus textfield with radiobutton -- works fine.
This commit is contained in:
parent
48cd938931
commit
5d1717fcfa
@ -105,11 +105,17 @@ PlasmaComponents.Page {
|
|||||||
PlasmaComponents.RadioButton {
|
PlasmaComponents.RadioButton {
|
||||||
text: "RadioButton"
|
text: "RadioButton"
|
||||||
//iconSource: "call-stop"
|
//iconSource: "call-stop"
|
||||||
|
onCheckedChanged: if (checked) tfield.forceActiveFocus()
|
||||||
}
|
}
|
||||||
PlasmaComponents.TextField {
|
PlasmaComponents.TextField {
|
||||||
|
id: tfield
|
||||||
text: "input here"
|
text: "input here"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// PlasmaComponents.TextArea {
|
||||||
|
// height: _h*2
|
||||||
|
// spacing: _s
|
||||||
|
// }
|
||||||
PlasmaComponents.Label {
|
PlasmaComponents.Label {
|
||||||
text: "iconSizes.small : " + theme.iconSizes.small +
|
text: "iconSizes.small : " + theme.iconSizes.small +
|
||||||
", iconSizes.desktop: " + theme.iconSizes.desktop +
|
", iconSizes.desktop: " + theme.iconSizes.desktop +
|
||||||
|
Loading…
Reference in New Issue
Block a user