From 5d1717fcfaf20685808bea534025ffa9f085119e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Tue, 19 Feb 2013 22:37:03 +0100 Subject: [PATCH] Focus textfield with radiobutton -- works fine. --- .../applets/testcomponentsapplet/contents/ui/IconsPage.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/shell/applets/testcomponentsapplet/contents/ui/IconsPage.qml b/src/shell/applets/testcomponentsapplet/contents/ui/IconsPage.qml index bfcdb3551..4fd668c8b 100644 --- a/src/shell/applets/testcomponentsapplet/contents/ui/IconsPage.qml +++ b/src/shell/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 +