Remove gray line at the bottom of tabs

This commit is contained in:
miruka 2020-03-19 03:33:46 -04:00
parent 2ef75faa71
commit e5c3afa219
3 changed files with 11 additions and 0 deletions

View File

@ -6,4 +6,13 @@ import QtQuick.Controls 2.12
TabBar {
spacing: 0
position: TabBar.Header
background: Item {
Rectangle {
width: parent.width
anchors.bottom: parent.bottom
height: 2
color: theme.controls.tab.bottomLine
}
}
}

View File

@ -123,6 +123,7 @@ controls:
colors.intensity * 4,
Math.max(0.6, colors.opacity)
)
color bottomLine: background
color hoveredOverlay: controls.button.hoveredOverlay
color pressedOverlay: controls.button.pressedOverlay

View File

@ -126,6 +126,7 @@ controls:
colors.intensity * 4,
Math.max(0.6, colors.opacity)
)
color bottomLine: background
color hoveredOverlay: controls.button.hoveredOverlay
color pressedOverlay: controls.button.pressedOverlay