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 GitHub
parent b816643e2d
commit c0639d8b8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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