plasma-framework/tests/buttons_pc3.0.qml
Aleix Pol 49ef90bcb9 Don't show the background if Button.flat
Summary: Otherwise the flat property is ignored

Test Plan: Tested on KDE Connect port to use PlasmaComponents

Reviewers: #plasma, mart

Reviewed By: #plasma, mart

Subscribers: mart, #frameworks

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D11652
2018-04-17 13:44:11 +02:00

29 lines
473 B
QML

import QtQuick 2.0
import org.kde.plasma.components 3.0 as PlasmaComponents
Rectangle
{
width: 500
height: 300
color: "white"
Flow {
anchors.fill: parent
anchors.margins: 20
spacing: 20
PlasmaComponents.Button {
text: "test"
}
PlasmaComponents.Button {
text: "test"
flat: true
}
PlasmaComponents.ToolButton {
text: "test"
}
}
}