Update tile look and feel
parent
7da0b58b50
commit
6a84144d66
|
|
@ -27,6 +27,7 @@ import QtQuick.Layouts
|
|||
import QtQuick.Controls
|
||||
import QtQuick.Controls.Material
|
||||
import QtQuick.Controls.Material.impl
|
||||
import Qt5Compat.GraphicalEffects
|
||||
|
||||
import Nymea
|
||||
|
||||
|
|
@ -101,6 +102,19 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
Glow {
|
||||
anchors.fill: background
|
||||
source: background
|
||||
radius: 8
|
||||
samples: 17
|
||||
spread: 0.4
|
||||
color: Style.accentColor
|
||||
opacity: (content.pressed || content.visualFocus || content.hovered) ? 1 : 0
|
||||
Behavior on opacity {
|
||||
SmoothedAnimation { duration: Style.slowAnimationDuration }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ColumnLayout {
|
||||
id: layout
|
||||
|
|
|
|||
|
|
@ -60,6 +60,19 @@ Item {
|
|||
radius: Style.cornerRadius
|
||||
}
|
||||
|
||||
Glow {
|
||||
anchors.fill: background
|
||||
source: background
|
||||
radius: 8
|
||||
samples: 17
|
||||
spread: 0.4
|
||||
color: Style.accentColor
|
||||
opacity: (delegate.pressed || delegate.visualFocus || delegate.hovered) ? 1 : 0
|
||||
Behavior on opacity {
|
||||
SmoothedAnimation { duration: Style.slowAnimationDuration }
|
||||
}
|
||||
}
|
||||
|
||||
Image {
|
||||
id: backgroundImg
|
||||
anchors.fill: parent
|
||||
|
|
@ -232,7 +245,4 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
DropShadow {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
1.11.1
|
||||
693
|
||||
694
|
||||
|
|
|
|||
Loading…
Reference in New Issue