diff options
| author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-10-25 13:20:38 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-31 13:23:58 +0100 |
| commit | fd8d7261cc25a7a2efcf42c59f9f11d0280e4383 (patch) | |
| tree | 3017fb73886fa5c6966e65b7d8d484a2cd54732f /src/controls/Styles/Base/TabViewStyle.qml | |
| parent | 6c5bcbf23928094338da90be2cd4a2787104cf03 (diff) | |
More styling improvements for Base Style
- Better scalability
- Retina support
- Added glow filter to Private
- Added focus rects
Change-Id: I2ec36a9db546c21e20408429c5e17fde8d67b7c3
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/controls/Styles/Base/TabViewStyle.qml')
| -rw-r--r-- | src/controls/Styles/Base/TabViewStyle.qml | 22 |
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 |
