fix(StatusTabButton): Hide bottom dash in disabled state (#729)

This commit is contained in:
Igor Sirotin 2022-06-13 17:53:30 +03:00 committed by Michał Cieślak
parent 5f3d5aa31b
commit 3d779f78cb
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ TabButton {
Rectangle { Rectangle {
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
visible: root.checked || root.hovered visible: root.enabled && (root.checked || root.hovered)
implicitWidth: 24 implicitWidth: 24
implicitHeight: 2 implicitHeight: 2
radius: 4 radius: 4