code: public final void setMaxWidth(final int maxWidth) {
          if (maxWidth != -1) {
              Condition.INSTANCE.ensureAtLeast(maxWidth, 1, "The maximum width must be at least 1");
          }
  
          this.maxWidth = maxWidth;
          requestLayout();
      }
docs: Sets the maximum width of the view.
  
  @param maxWidth
  The maximum width, which should be set, in pixels as an {@link Integer} value. The
  maximum width must be at least 1 or -1, if no maximum width should be set