Back to Swipecellkit

SwipeVerticalAlignment

docs/Enums/SwipeVerticalAlignment.html

2.7.11.0 KB
Original Source

SwipeVerticalAlignment

public enum SwipeVerticalAlignment

Describes the alignment mode used when action button images and titles are provided.

`

                centerFirstBaseline
                `

All actions will be inspected and the tallest image and first baseline offset of title text will be used to create the alignment rectangle.

Note

This mode will ensure the image and first line of each button title and consistently aligned across the swipe view.

Declaration

Swift

case centerFirstBaseline

`

                center
                `

The action button image height and full title height are used to create the aligment rectange.

Note

Buttons with varying number of lines will not be consistently aligned across the swipe view.

Declaration

Swift

case center

© 2018 Mohammad Kurabi. All rights reserved. (Last updated: 2018-05-26)

Generated by jazzy ♪♫ v0.8.4, a Realm project.