aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/tracing
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2024-09-26 16:40:17 +0200
committerUlf Hermann <[email protected]>2024-09-27 11:25:28 +0000
commit52d994e2abe198504f1777c0e9afbacc4e6d28b2 (patch)
treedfccd52731704f890ade1194d2b8a2d8a7e0cfc2 /src/libs/tracing
parent6a8f3d82d299ecb35ff85c76b293c190f6ba5f11 (diff)
Tracing: Drop padding from ImageToolButton's background
It does not seem to make much of a difference and PaddedRectangle was not supposed to be available from QtQuick.Controls. Task-number: QTBUG-129390 Change-Id: I7fdcaaef27066cb61bbd3d8e3fef3643c5f4ffa7 Reviewed-by: Alessandro Portale <[email protected]>
Diffstat (limited to 'src/libs/tracing')
-rw-r--r--src/libs/tracing/qml/ImageToolButton.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/tracing/qml/ImageToolButton.qml b/src/libs/tracing/qml/ImageToolButton.qml
index 45ca12b8997..ebbc8e28907 100644
--- a/src/libs/tracing/qml/ImageToolButton.qml
+++ b/src/libs/tracing/qml/ImageToolButton.qml
@@ -22,8 +22,7 @@ ToolButton {
smooth: false
}
- background: PaddedRectangle {
- padding: Theme.compactToolbar() ? 0 : 3
+ background: Rectangle {
radius: Theme.compactToolbar() ? 0 : 5
color: (parent.checked || parent.pressed)
? Theme.color(Theme.FancyToolButtonSelectedColor)