Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Breeze Style for QQC2
Commits
b131c571
Commit
b131c571
authored
Mar 05, 2021
by
Noah Davis
🌵
Browse files
[TabBar] use kirigami colors, no padding, no highlight range
parent
c32e096b
Changes
1
Hide whitespace changes
Inline
Side-by-side
style/qtquickcontrols/TabBar.qml
View file @
b131c571
...
...
@@ -2,6 +2,7 @@
import
QtQuick
2.15
import
QtQuick
.
Templates
2.15
as
T
import
org
.
kde
.
kirigami
2.14
as
Kirigami
T.TabBar
{
id
:
control
...
...
@@ -15,6 +16,7 @@ T.TabBar {
contentHeight
+
topPadding
+
bottomPadding
)
spacing
:
0
padding
:
0
contentItem
:
ListView
{
model
:
control
.
contentModel
...
...
@@ -25,14 +27,9 @@ T.TabBar {
boundsBehavior
:
Flickable
.
StopAtBounds
flickableDirection
:
Flickable
.
AutoFlickIfNeeded
snapMode
:
ListView
.
SnapToItem
highlightMoveDuration
:
0
highlightRangeMode
:
ListView
.
ApplyRange
preferredHighlightBegin
:
40
preferredHighlightEnd
:
width
-
40
}
background
:
Rectangle
{
color
:
control
.
palette
.
window
color
:
Kirigami
.
Theme
.
backgroundColor
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment