SwipeVerticalAlignment

public enum SwipeVerticalAlignment

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

  • 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
  • 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