mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 11:38:57 +00:00
30 lines
571 B
QML
30 lines
571 B
QML
|
import QtQuick 2.15
|
||
|
import QtQuick.Controls 2.15
|
||
|
import QtGraphicalEffects 1.15
|
||
|
|
||
|
import StatusQ.Core.Theme 0.1
|
||
|
|
||
|
Frame {
|
||
|
id: root
|
||
|
|
||
|
padding: 0
|
||
|
|
||
|
background: Rectangle {
|
||
|
id: background
|
||
|
border.width: 1
|
||
|
border.color: Theme.palette.baseColor2
|
||
|
radius: 12
|
||
|
color: Theme.palette.background
|
||
|
}
|
||
|
|
||
|
layer.enabled: true
|
||
|
layer.effect: OpacityMask {
|
||
|
maskSource: Rectangle {
|
||
|
width: root.width
|
||
|
height: root.height
|
||
|
radius: background.radius
|
||
|
visible: false
|
||
|
}
|
||
|
}
|
||
|
}
|