FluentUI/src/controls/FluFocusRectangle.qml

24 lines
414 B
QML
Raw Normal View History

2023-03-30 21:52:55 +08:00
import QtQuick
import FluentUI
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
2023-03-28 21:37:10 +08:00
border.color: FluTheme.dark ? Qt.rgba(1,1,1,1) : Qt.rgba(0,0,0,1)
2023-03-12 14:26:03 +08:00
z: 65535
}
}