aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/ToolButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/ToolButton.qml')
-rw-r--r--src/imports/controls/ToolButton.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/imports/controls/ToolButton.qml b/src/imports/controls/ToolButton.qml
index 60e1671b..83d3eee2 100644
--- a/src/imports/controls/ToolButton.qml
+++ b/src/imports/controls/ToolButton.qml
@@ -51,6 +51,7 @@ AbstractButton {
padding: Theme.padding
+ //! [label]
label: Text {
x: control.leftPadding
y: control.topPadding
@@ -63,7 +64,9 @@ AbstractButton {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
+ //! [label]
+ //! [background]
background: Rectangle {
implicitWidth: 26
implicitHeight: 26
@@ -72,4 +75,5 @@ AbstractButton {
color: control.Theme.frameColor
visible: control.pressed
}
+ //! [background]
}