Libplasma

Container.qml
1/*
2 SPDX-FileCopyrightText: 2016 Marco Martin <mart@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7import QtQuick
8import QtQuick.Templates as T
9
10T.Container {
11 id: control
12
13 implicitWidth: Math.max(background ? background.implicitWidth : 0,
14 (contentItem ? contentItem.implicitWidth : 0) + leftPadding + rightPadding)
15 implicitHeight: Math.max(background ? background.implicitHeight : 0,
16 (contentItem ? contentItem.implicitHeight : 0) + topPadding + bottomPadding)
17}
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.