Martchus
ed4d1fc213
That looks more consistent, especially when using a dark color theme where the default Syncthing icon doesn't fit in very well.
14 lines
533 B
QML
14 lines
533 B
QML
import org.kde.plasma.components 2.0 as PlasmaComponents
|
|
|
|
PlasmaComponents.ToolButton {
|
|
property int iconSize: units.iconSizes.small
|
|
property bool paddingEnabled: false
|
|
|
|
// define our own icon property and use that within the style to be able to set QIcon a directly
|
|
// note: The iconSource alias defined in org/kde/plasma/components/ToolButton.qml seems to break
|
|
// passing a QIcon as iconSource (instead of just the name of an icon) so it can not be used.
|
|
property var icon
|
|
|
|
style: TinyButtonStyle {}
|
|
}
|