styled pane
This commit is contained in:
parent
32167ef44e
commit
e180fee2a9
1 changed files with 19 additions and 0 deletions
19
components/StyledPane.qml
Normal file
19
components/StyledPane.qml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import qs.config
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
|
||||
Pane {
|
||||
padding: 24
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.width: Styling.theme.border
|
||||
border.color: Styling.theme.basecontent
|
||||
opacity: 0.33
|
||||
Behavior on border.color {
|
||||
ColorAnimation {
|
||||
duration: Styling.animations.speed.fast
|
||||
}
|
||||
}
|
||||
radius: Styling.theme.radiusBox
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue