FluentUI/src/controls/FluFocusRectangle.qml

24 lines
425 B
QML
Raw Normal View History

2023-03-25 13:35:21 +08:00
import QtQuick 2.15
import FluentUI 1.0
2023-03-12 14:26:03 +08:00
Item {
2023-03-27 18:24:35 +08:00
property int radius: 4
2023-03-12 14:26:03 +08:00
id:root
anchors.fill: parent
anchors.margins: -3
Rectangle{
width: root.width
height: root.height
anchors.centerIn: parent
color: "#00000000"
border.width: 3
radius: root.radius
border.color: FluTheme.isDark ? Qt.rgba(1,1,1,1) : Qt.rgba(0,0,0,1)
z: 65535
}
}