aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/macos/Frame.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols/macos/Frame.qml')
-rw-r--r--src/quickcontrols/macos/Frame.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quickcontrols/macos/Frame.qml b/src/quickcontrols/macos/Frame.qml
index de84d77834..8399b273ee 100644
--- a/src/quickcontrols/macos/Frame.qml
+++ b/src/quickcontrols/macos/Frame.qml
@@ -6,4 +6,8 @@ import QtQuick
import QtQuick.NativeStyle as NativeStyle
NativeStyle.DefaultFrame {
+ leftPadding: 9 + (__nativeBackground ? background.contentPadding.left : 0)
+ rightPadding: 9 + (__nativeBackground ? background.contentPadding.right : 0)
+ topPadding: 9 + (__nativeBackground ? background.contentPadding.top : 0)
+ bottomPadding: 9 + (__nativeBackground ? background.contentPadding.bottom : 0)
}