aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/TabButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/TabButton.qml')
-rw-r--r--src/imports/controls/TabButton.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/imports/controls/TabButton.qml b/src/imports/controls/TabButton.qml
index 05182a60..2b9658be 100644
--- a/src/imports/controls/TabButton.qml
+++ b/src/imports/controls/TabButton.qml
@@ -52,6 +52,7 @@ AbstractTabButton {
padding: Theme.padding
+ //! [label]
label: Text {
x: control.leftPadding
y: control.topPadding
@@ -65,10 +66,13 @@ AbstractTabButton {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
+ //! [label]
+ //! [background]
background: Rectangle {
height: parent.height - 1
implicitHeight: 26
color: control.Theme.backgroundColor
}
+ //! [background]
}