aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/ToggleButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/ToggleButton.qml')
-rw-r--r--src/imports/controls/ToggleButton.qml5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/imports/controls/ToggleButton.qml b/src/imports/controls/ToggleButton.qml
index a043f290..4f82d7fb 100644
--- a/src/imports/controls/ToggleButton.qml
+++ b/src/imports/controls/ToggleButton.qml
@@ -54,10 +54,7 @@ AbstractToggleButton {
Accessible.pressed: pressed
Accessible.role: Accessible.Button
- topPadding: style.padding
- leftPadding: style.padding
- rightPadding: style.padding
- bottomPadding: style.padding
+ padding: style.padding
indicator: Rectangle {
readonly property bool mirror: control.effectiveLayoutDirection == Qt.RightToLeft