aboutsummaryrefslogtreecommitdiffstats
path: root/styles/neptune/TabBar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'styles/neptune/TabBar.qml')
-rw-r--r--styles/neptune/TabBar.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/styles/neptune/TabBar.qml b/styles/neptune/TabBar.qml
index 611bd0ee..09831b9b 100644
--- a/styles/neptune/TabBar.qml
+++ b/styles/neptune/TabBar.qml
@@ -31,6 +31,7 @@
import QtQuick 2.10
import QtQuick.Templates 2.3 as T
+import com.pelagicore.styles.neptune 3.0
T.TabBar {
id: control
@@ -54,7 +55,7 @@ T.TabBar {
highlightMoveDuration: 0
highlightRangeMode: ListView.ApplyRange
- preferredHighlightBegin: 40
- preferredHighlightEnd: width - 40
+ preferredHighlightBegin: NeptuneStyle.dp(40)
+ preferredHighlightEnd: width - NeptuneStyle.dp(40)
}
}