Libplasma

AbstractButton.qml
1/*
2 * SPDX-FileCopyrightText: 2020 Noah Davis <noahadvs@gmail.com>
3 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
4 */
5import QtQuick.Templates as T
6
7T.AbstractButton {
8 id: control
10 implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
11 implicitContentWidth + leftPadding + rightPadding)
12 implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
13 implicitContentHeight + topPadding + bottomPadding)
14}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:04:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.