Class NSLayoutFormatOptions


  • public final class NSLayoutFormatOptions
    extends java.lang.Object
    • Field Detail

      • DirectionLeadingToTrailing

        public static final long DirectionLeadingToTrailing
        default
        See Also:
        Constant Field Values
      • SpacingBaselineToBaseline

        public static final long SpacingBaselineToBaseline
        Valid only for vertical layouts. Between views with text content the value will be used to determine the distance from the last baseline of the view above to the first baseline of the view below. For views without text content the top or bottom edge will be used in lieu of the baseline position. The default spacing "]-[" will be determined from the line heights of the fonts involved in views with text content, when present.
        See Also:
        Constant Field Values
      • SpacingMask

        public static final long SpacingMask
        Valid only for vertical layouts. Between views with text content the value will be used to determine the distance from the last baseline of the view above to the first baseline of the view below. For views without text content the top or bottom edge will be used in lieu of the baseline position. The default spacing "]-[" will be determined from the line heights of the fonts involved in views with text content, when present.
        See Also:
        Constant Field Values