CLASS
FormViewControllerStyle
Contents
- Methods
init(contentTextAppearance:contentTextColor:contentStyle:headerTextAppearance:headerTextColor:messagesStyle:linksStyle:paddingLeft:paddingTop:paddingRight:paddingBottom:backgroundColor:)
public final class FormViewControllerStyle: BaseViewControllerStyle
The UIStyle subclass used for FormViewController
UI styling definitions.
- Note: Available FormViewControllerStyle Theme configuration options:
- paddingLeft: Number
- paddingTop: Number
- paddingRight: Number
- paddingBottom: Number
- messagesStyle: String
- headerTextStyle: String
- contentTextStyle: String
- interactionsStyle: String
- linksStyle: String
Methods
init(contentTextAppearance:contentTextColor:contentStyle:headerTextAppearance:headerTextColor:messagesStyle:linksStyle:paddingLeft:paddingTop:paddingRight:paddingBottom:backgroundColor:)
public init(contentTextAppearance: TextAppearance,
contentTextColor: UIColor,
contentStyle: StackViewStyle,
headerTextAppearance: TextAppearance,
headerTextColor: UIColor,
messagesStyle: StackViewStyle,
linksStyle: StackViewStyle,
paddingLeft: Double,
paddingTop: Double,
paddingRight: Double,
paddingBottom: Double,
backgroundColor: UIColor?)
Creates a FormViewControllerStyle.
- Parameters:
- contentTextAppearance: The text appearance for the content.
- contentTextColor: The text color for the content.
- contentStyle: The stack view style for the content.
- headerTextAppearance: The text appearance for the header.
- headerTextColor: The text color for the header.
- messagesStyle: The stack view style for the messages area.
- linksStyle: The stack view style for the links area.
- 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 |
---|---|
contentTextAppearance | The text appearance for the content. |
contentTextColor | The text color for the content. |
contentStyle | The stack view style for the content. |
headerTextAppearance | The text appearance for the header. |
headerTextColor | The text color for the header. |
messagesStyle | The stack view style for the messages area. |
linksStyle | The stack view style for the links area. |
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. |