Reputation: 137
I am using Eureka for creating a form.
Added ButonRow to the form but can't add margin (maybe padding?) to the left and right of the button for make it smaller and centered.
How can I achieve that?
Upvotes: 0
Views: 1072
Reputation: 1053
.cellSetup { cell, _ in
cell.indentationLevel = 1
cell.indentationWidth = 12
cell.contentView.layoutMargins.right = 20
}
Upvotes: 2