SFormSectionLayoutAlignedVertically Class Reference

Inherits from SFormSectionBaseLayout : NSObject
Declared in SFormSectionLayoutAlignedVertically.h
Availability
Related samples

Overview

A layout manager that is used to layout fields in their superview so that:

  • The fields are left aligned.
  • The fields are stacked vertically in the order of the array (first element at top).
  • The fields keep their own size.
    |_______________________________________
    |                     | |               |
    | Very long label     | |     field     |
    |____________________ |_|_______________|
    |
    |
    |_____________________________
    |             | |             |
    | label       | |   field     |
    |_____________|_|_____________|
    |
    |
    |______________________________________
    |                  | |                 |
    | long label       | |  field          |
    |__________________|_|_________________|
    |
    |
    Aligned