Compare commits
2 commits
01c2ea9044
...
2b6b9aee28
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b6b9aee28 | ||
|
|
0ab37420a2 |
2 changed files with 6 additions and 3 deletions
|
|
@ -3,12 +3,14 @@ import QtQuick
|
||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
|
id: pane
|
||||||
|
|
||||||
padding: 24
|
padding: 24
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
border.width: Styling.theme.border
|
border.width: Styling.theme.border
|
||||||
border.color: Styling.theme.basecontent
|
border.color: pane.hovered ? Styling.theme.accent : Styling.theme.basecontent
|
||||||
opacity: 0.33
|
opacity: 0.2
|
||||||
Behavior on border.color {
|
Behavior on border.color {
|
||||||
ColorAnimation {
|
ColorAnimation {
|
||||||
duration: Styling.animations.speed.fast
|
duration: Styling.animations.speed.fast
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,8 @@ TabButton {
|
||||||
duration: Styling.animations.speed.normal
|
duration: Styling.animations.speed.normal
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// radius: Styling.theme.radiusField
|
border.width: 2
|
||||||
|
border.color: control.checked ? Styling.theme.accent : "transparent"
|
||||||
}
|
}
|
||||||
|
|
||||||
HoverHandler {
|
HoverHandler {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue