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 }