CLASS
ActionableButtonStyle
Contents
- Methods
init(iconTextPadding:borderWidth:cornerRadius:loadingIndicatorViewStyle:textAppearance:textColor:borderColor:image:minHeight:paddingLeft:paddingTop:paddingRight:paddingBottom:backgroundColor:)
public final class ActionableButtonStyle: UIStyle
The UIStyle subclass used for ActionableButton UI component styling definitions.
- Note: Available ActionableButtonStyle Theme configuration options:
- minHeight: Number
- fontTextStyle: String
- fontSymbolicTrait: String
- textColorName: String
- backgroundColorName: String
- imageName: String
- borderColorName: String
- borderWidth: Number
- cornerRadius: Number
- iconTextPadding: Number
- loadingIndicatorViewStyle: String
Methods
init(iconTextPadding:borderWidth:cornerRadius:loadingIndicatorViewStyle:textAppearance:textColor:borderColor:image:minHeight:paddingLeft:paddingTop:paddingRight:paddingBottom:backgroundColor:)
public init(iconTextPadding: Double,
borderWidth: Double,
cornerRadius: Double,
loadingIndicatorViewStyle: LoadingIndicatorViewStyle,
textAppearance: TextAppearance,
textColor: UIColor,
borderColor: UIColor,
image: UIImage?,
minHeight: Double?,
paddingLeft: Double,
paddingTop: Double,
paddingRight: Double,
paddingBottom: Double,
backgroundColor: UIColor?)
Creates an ActionableButtonStyle.
- Parameters:
- iconTextPadding: The padding for the icon text.
- borderWidth: The border width.
- cornerRadius: The corner radius.
- loadingIndicatorViewStyle: The LoadingIndicatorViewStyle.
- textAppearance: The TextAppearance.
- textColor: The text color.
- borderColor: The border color.
- image: The action image.
- minHeight: The min height for the action button.
- paddingLeft: The left padding of the view.
- paddingTop: The top padding of the view.
- paddingRight: The right padding of the view.
- paddingBottom: The bottom padding of the view.
- backgroundColor: The background color.
Parameters
| Name | Description |
|---|---|
| iconTextPadding | The padding for the icon text. |
| borderWidth | The border width. |
| cornerRadius | The corner radius. |
| loadingIndicatorViewStyle | The LoadingIndicatorViewStyle. |
| textAppearance | The TextAppearance. |
| textColor | The text color. |
| borderColor | The border color. |
| image | The action image. |
| minHeight | The min height for the action button. |
| paddingLeft | The left padding of the view. |
| paddingTop | The top padding of the view. |
| paddingRight | The right padding of the view. |
| paddingBottom | The bottom padding of the view. |
| backgroundColor | The background color. |