Class NSLayoutFormatOptions


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

      • AlignAllFirstBaseline

        public static final long AlignAllFirstBaseline
        API-Since: 8.0
        See Also:
        Constant Field Values
      • DirectionLeadingToTrailing

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

        public static final long SpacingEdgeToEdge
        default API-Since: 11.0
        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. API-Since: 11.0
        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. API-Since: 11.0
        See Also:
        Constant Field Values