import QtQuick Item { id: root property Item target: parent property real radius: Theme.radiusSmall property bool active: target && target.activeFocus anchors.fill: target anchors.margins: -2 z: 20 enabled: false visible: active Accessible.ignored: true Rectangle { anchors.fill: parent color: "transparent" border.width: 2 border.color: Theme.focus radius: root.radius + 2 } }