Warning, /plasma/qqc2-breeze-style/style/qtquickcontrols/Pane.qml is written in an unsupported language. File is not indexed.

0001 /* SPDX-FileCopyrightText: 2020 Noah Davis <noahadvs@gmail.com>
0002  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0003  */
0004 
0005 import QtQuick
0006 import QtQuick.Templates as T
0007 import org.kde.kirigami as Kirigami
0008 
0009 import org.kde.breeze.impl as Impl
0010 
0011 T.Pane {
0012     id: control
0013 
0014     implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
0015                             contentWidth + leftPadding + rightPadding)
0016     implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
0017                              contentHeight + topPadding + bottomPadding)
0018 
0019     // Not confident about this value.
0020     // Why do Qt QQC2 styles use large padding for this
0021     // and no padding for Pages?
0022     padding: Impl.Units.veryLargeSpacing
0023 
0024     background: Rectangle {
0025         color: Kirigami.Theme.backgroundColor
0026     }
0027 }