summaryrefslogtreecommitdiff
path: root/TabItem.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'TabItem.ui.qml')
-rw-r--r--TabItem.ui.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/TabItem.ui.qml b/TabItem.ui.qml
index c44f1a3..e0bb31c 100644
--- a/TabItem.ui.qml
+++ b/TabItem.ui.qml
@@ -2,7 +2,6 @@ import QtQuick 2.15
import QtQuick.Controls 2.15
Button {
- id: button
property int currentIndex: 0
property bool doesntEmbed: Qt.platform.os === "android"
|| Qt.platform.os === "linux"
@@ -18,9 +17,8 @@ Button {
height: 38
horizontalPadding: 16
verticalPadding: 8
- text: modelData
contentItem: Text {
- text: button.text
+ text: modelData
color: index == currentIndex ? "white" : "#066ac9"
font {
family: doesntEmbed ? "Roboto" : regular.name