Kylin/Fluent/qml/FocusRectangle.qml
2024-08-31 04:13:21 +08:00

21 lines
436 B
QML

import QtQuick as Quick
import QtQuick.Controls
import Fluent
Quick.Item {
property int radius: 4
id:control
anchors.fill: parent
Quick.Rectangle{
width: control.width
height: control.height
anchors.centerIn: parent
color: "#00000000"
border.width: 2
radius: control.radius
border.color: Theme.dark ? Qt.rgba(1,1,1,1) : Qt.rgba(0,0,0,1)
z: 65535
}
}