Libplasma

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}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:06:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.