aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/nativestyle/controls/DefaultFrame.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/nativestyle/controls/DefaultFrame.qml')
-rw-r--r--src/imports/nativestyle/controls/DefaultFrame.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/imports/nativestyle/controls/DefaultFrame.qml b/src/imports/nativestyle/controls/DefaultFrame.qml
index 6241a91e..77ca6125 100644
--- a/src/imports/nativestyle/controls/DefaultFrame.qml
+++ b/src/imports/nativestyle/controls/DefaultFrame.qml
@@ -42,17 +42,17 @@ import QtQuick.NativeStyle as NativeStyle
T.Frame {
id: control
- readonly property bool nativeBackground: background instanceof NativeStyle.StyleItem
+ readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem
implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
contentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
contentHeight + topPadding + bottomPadding)
- leftPadding: nativeBackground ? background.contentPadding.left : 12
- rightPadding: nativeBackground ? background.contentPadding.right : 12
- topPadding: nativeBackground ? background.contentPadding.top : 12
- bottomPadding: nativeBackground ? background.contentPadding.bottom : 12
+ leftPadding: __nativeBackground ? background.contentPadding.left : 12
+ rightPadding: __nativeBackground ? background.contentPadding.right : 12
+ topPadding: __nativeBackground ? background.contentPadding.top : 12
+ bottomPadding: __nativeBackground ? background.contentPadding.bottom : 12
background: NativeStyle.Frame {
control: control