change pane border on hover
This commit is contained in:
parent
01c2ea9044
commit
0ab37420a2
1 changed files with 4 additions and 2 deletions
|
|
@ -3,12 +3,14 @@ import QtQuick
|
|||
import QtQuick.Controls
|
||||
|
||||
Pane {
|
||||
id: pane
|
||||
|
||||
padding: 24
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.width: Styling.theme.border
|
||||
border.color: Styling.theme.basecontent
|
||||
opacity: 0.33
|
||||
border.color: pane.hovered ? Styling.theme.accent : Styling.theme.basecontent
|
||||
opacity: 0.2
|
||||
Behavior on border.color {
|
||||
ColorAnimation {
|
||||
duration: Styling.animations.speed.fast
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue