public TextLayoutBuilder setMaxWidth(@Px int maxWidth) {
    mMaxWidth = maxWidth;
    mMaxWidthMode = PIXELS;
    return this;
  }
Sets the max width expressed in pixels.

@param maxWidth max width expressed in pixels
@return This {@link TextLayoutBuilder} instance
@see #setMaxEms(int)
@see #setMinWidth(int)
library/src/main/java/com/facebook/fbui/textlayoutbuilder/TextLayoutBuilder.java