diff options
author | Tor Arne Vestbø <[email protected]> | 2025-05-23 17:39:08 +0200 |
---|---|---|
committer | Tor Arne Vestbø <[email protected]> | 2025-05-31 12:18:55 +0000 |
commit | 6ba05610cd5857571a780b8a5ff1cb86123caffd (patch) | |
tree | c64021f13a68501a7445bf8e6d125612765fd126 /examples | |
parent | 2ff0975e8d84c638e9ffbffb281ddd8de1670fbf (diff) |
Change-Id: I15adb570c3d04535712bbffdee5b2237a4809365
Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quickcontrols/attachedstyleproperties/MyStyle/ToolBar.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/quickcontrols/attachedstyleproperties/MyStyle/ToolBar.qml b/examples/quickcontrols/attachedstyleproperties/MyStyle/ToolBar.qml index 98e09c6964..3f1944d980 100644 --- a/examples/quickcontrols/attachedstyleproperties/MyStyle/ToolBar.qml +++ b/examples/quickcontrols/attachedstyleproperties/MyStyle/ToolBar.qml @@ -14,6 +14,11 @@ T.ToolBar { implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, implicitContentHeight + topPadding + bottomPadding) + topPadding: SafeArea.margins.top + leftPadding: SafeArea.margins.left + rightPadding: SafeArea.margins.right + bottomPadding: SafeArea.margins.bottom + background: Rectangle { implicitHeight: 40 // Ensure that we use Control's attached MyStyle object by qualifying |