aerothemeplasma/plasma/plasmoids/org.kde.plasma.volume/contents/ui/SmallToolButton.qml
2024-08-09 03:20:25 +02:00

19 lines
564 B
QML

/*
SPDX-FileCopyrightText: 2017 Chris Holland <zrenfire@gmail.com>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick
import QtQuick.Layouts
import org.kde.kirigami as Kirigami
import org.kde.plasma.components as PlasmaComponents3
PlasmaComponents3.ToolButton {
id: smallToolButton
readonly property int size: Math.ceil(Kirigami.Units.iconSizes.small + Kirigami.Units.smallSpacing * 2)
implicitWidth: size
implicitHeight: size
display: PlasmaComponents3.AbstractButton.IconOnly
}