Compare commits

..

2 commits

Author SHA1 Message Date
Benjamin Palko
2b6b9aee28 change border on tab button when active 2025-09-11 17:01:08 -04:00
Benjamin Palko
0ab37420a2 change pane border on hover 2025-09-11 17:00:43 -04:00
2 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -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 {