Plasma-framework

Page.qml
1/*
2 SPDX-FileCopyrightText: 2020 Niccolò Venerandi <niccolo@venerandi.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7import QtQuick
8import QtQuick.Templates as T
9
10T.Page {
11 implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
12 contentWidth + leftPadding + rightPadding,
13 implicitHeaderWidth,
14 implicitFooterWidth)
15 implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
16 contentHeight + topPadding + bottomPadding
17 + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0)
18 + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0))
19}
20
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:54:11 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.