summaryrefslogtreecommitdiffstats
path: root/src/controls/Styles/Base/TabViewStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Base/TabViewStyle.qml')
-rw-r--r--src/controls/Styles/Base/TabViewStyle.qml22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/controls/Styles/Base/TabViewStyle.qml b/src/controls/Styles/Base/TabViewStyle.qml
index e4d9c010b..430dd02fa 100644
--- a/src/controls/Styles/Base/TabViewStyle.qml
+++ b/src/controls/Styles/Base/TabViewStyle.qml
@@ -156,20 +156,22 @@ Style {
border.right: 6
anchors.topMargin: styleData.selected ? 0 : 1
}
- BorderImage {
- anchors.fill: parent
- anchors.margins: -1
- source: "images/focusframe.png"
- visible: styleData.activeFocus && styleData.selected
- border.left: 4
- border.right: 4
- border.top: 4
- border.bottom: 4
- }
+ }
+ Rectangle {
+ anchors.fill: textitem
+ anchors.margins: -1
+ anchors.leftMargin: -3
+ anchors.rightMargin: -3
+ visible: (styleData.activeFocus && styleData.selected)
+ height: 6
+ radius: 3
+ color: "#224f9fef"
+ border.color: "#47b"
}
Text {
id: textitem
anchors.centerIn: parent
+ anchors.alignWhenCentered: true
text: styleData.title
renderType: Text.NativeRendering
scale: control.tabPosition === Qt.TopEdge ? 1 : -1