diff options
author | Andy Shaw <andy.shaw@qt.io> | 2021-05-27 09:15:47 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2021-05-27 09:19:00 +0200 |
commit | 85a74d5cb68b11a1152b00d3e4a0e8dc9998b31c (patch) | |
tree | f317e6cc61e58c995a6722ec4da03ad141966e6b /src/imports | |
parent | 3ba0c90faca95c567cf36d9cb29857303fb3d0f4 (diff) |
Sync the visibility of the FocusFrame with the target item
Fixes: QTBUG-93994
Pick-to: 6.1
Change-Id: Ib9138f6bc59bcf7b97d5ccb478c7b9c434dfef64
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/nativestyle/util/FocusFrame.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/nativestyle/util/FocusFrame.qml b/src/imports/nativestyle/util/FocusFrame.qml index 6bac460d..b3f3a80e 100644 --- a/src/imports/nativestyle/util/FocusFrame.qml +++ b/src/imports/nativestyle/util/FocusFrame.qml @@ -89,7 +89,7 @@ Item { width: targetItem ? targetItem.width - leftOffset - rightOffset + (frameSize * 2) : 0 height: targetItem ? targetItem.height - topOffset - bottomOffset + (frameSize * 2) : 0 radius: frameRadius - visible: targetItem + visible: targetItem && targetItem.visible color: "transparent" border.color: systemFrameColor |