Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
QML push button
GrahamLa last edited by
I am using Creator 4.8.0 and QtQuick 2.9
Is it possible to define in QML a push button that has rounded corners?
I believe you can change the "background" property of the QML Button object, define it as a Rectangle and give it a radius to have rounded corners.
If you do not want to register any mouse clicks in those areas, you'll have to create your own button qml file and do something like suggested here:
Also, RoundButton with a small
radiuscan be used for this. Depends on which Controls you're using.