BigButton.qml 241 Bytes
Newer Older
Michael Winkelmann's avatar
Michael Winkelmann committed
1 2 3 4 5 6 7 8 9 10
import QtQuick 2.11
import QtQuick.Controls 2.4
import QtQuick.Layouts 1.3

Button {
    Layout.fillWidth: true
    Layout.fillHeight: true
    font.pointSize: Math.min(parent.width,parent.height) / 8 + 10
    font.family: Icons.font.name
}