Annotation Type SimpleMenu.WidthMode


  • @Retention(SOURCE)
    public static @interface SimpleMenu.WidthMode
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static int MATCH_CONSTRAINT
      Popup menu width is only limited by maxWidth.
      static int WRAP_CONTENT
      Popup menu width is * at least as wide as its content, * limited by maxWidth.
      static int WRAP_CONTENT_UNIT
      Popup menu width is at least as wide as its content rounded up to a multiple of widthUnit, at least as wide as widthUnit * 1.5, limited by maxWidth.
    • Field Detail

      • MATCH_CONSTRAINT

        static final int MATCH_CONSTRAINT
        Popup menu width is only limited by maxWidth.
      • WRAP_CONTENT

        static final int WRAP_CONTENT
        Popup menu width is * at least as wide as its content, * limited by maxWidth.
      • WRAP_CONTENT_UNIT

        static final int WRAP_CONTENT_UNIT
        Popup menu width is
        • at least as wide as its content rounded up to a multiple of widthUnit,
        • at least as wide as widthUnit * 1.5,
        • limited by maxWidth.