diff --git a/modules/Material/ActionButton.qml b/modules/Material/ActionButton.qml index 95dc9747..65d6b3cf 100644 --- a/modules/Material/ActionButton.qml +++ b/modules/Material/ActionButton.qml @@ -61,6 +61,16 @@ Controls.Button { */ property string iconName: action ? action.iconName : "" + /*! + The size of the icon. + */ + property int iconSize: Units.dp(24) + + /*! + The rotation of the icon (in degrees). + */ + property int iconRotation: 0 + /*! Floating action buttons come in two sizes: @@ -130,7 +140,8 @@ Controls.Button { anchors.centerIn: parent name: control.iconName color: button.iconColor - size: Units.dp(24) + size: iconSize + rotation: iconRotation } } }