Remove gray line at the bottom of tabs
This commit is contained in:
parent
2ef75faa71
commit
e5c3afa219
|
@ -6,4 +6,13 @@ import QtQuick.Controls 2.12
|
||||||
TabBar {
|
TabBar {
|
||||||
spacing: 0
|
spacing: 0
|
||||||
position: TabBar.Header
|
position: TabBar.Header
|
||||||
|
|
||||||
|
background: Item {
|
||||||
|
Rectangle {
|
||||||
|
width: parent.width
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
height: 2
|
||||||
|
color: theme.controls.tab.bottomLine
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -123,6 +123,7 @@ controls:
|
||||||
colors.intensity * 4,
|
colors.intensity * 4,
|
||||||
Math.max(0.6, colors.opacity)
|
Math.max(0.6, colors.opacity)
|
||||||
)
|
)
|
||||||
|
color bottomLine: background
|
||||||
|
|
||||||
color hoveredOverlay: controls.button.hoveredOverlay
|
color hoveredOverlay: controls.button.hoveredOverlay
|
||||||
color pressedOverlay: controls.button.pressedOverlay
|
color pressedOverlay: controls.button.pressedOverlay
|
||||||
|
|
|
@ -126,6 +126,7 @@ controls:
|
||||||
colors.intensity * 4,
|
colors.intensity * 4,
|
||||||
Math.max(0.6, colors.opacity)
|
Math.max(0.6, colors.opacity)
|
||||||
)
|
)
|
||||||
|
color bottomLine: background
|
||||||
|
|
||||||
color hoveredOverlay: controls.button.hoveredOverlay
|
color hoveredOverlay: controls.button.hoveredOverlay
|
||||||
color pressedOverlay: controls.button.pressedOverlay
|
color pressedOverlay: controls.button.pressedOverlay
|
||||||
|
|
Loading…
Reference in New Issue
Block a user