Skip to content

Commit

Permalink
Add missing setters to RichText TextStyle
Browse files Browse the repository at this point in the history
Summary: while creating the wrapper for the Text Primitive i discovered those were added as props but never had setters

Reviewed By: zielinskimz

Differential Revision: D65338164

fbshipit-source-id: 02f5fa9fdcab67baef3ef70b3e492213d8db5962
  • Loading branch information
Anna Powolny authored and facebook-github-bot committed Nov 4, 2024
1 parent 7c11503 commit d86656a
Showing 1 changed file with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,58 @@ public void setVerticalGravity(VerticalGravity verticalGravity) {
this.verticalGravity = verticalGravity;
}

public void setMaxEms(int maxEms) {
this.maxEms = maxEms;
}

public void setMinEms(int minEms) {
this.minEms = minEms;
}

public void setMaxLines(int maxNumberOfLines) {
this.maxLines = maxNumberOfLines;
}

public void setMinLines(int minNumberOfLines) {
this.minLines = minNumberOfLines;
}

public void setMinTextWidth(int minTextWidth) {
this.minTextWidth = minTextWidth;
}

public void setMaxTextWidth(int maxTextWidth) {
this.maxTextWidth = maxTextWidth;
}

public void setLinkColor(int linkColor) {
this.linkColor = linkColor;
}

public void setHighlightStartOffset(int highlightStartOffset) {
this.highlightStartOffset = highlightStartOffset;
}

public void setHighlightEndOffset(int highlightEndOffset) {
this.highlightEndOffset = highlightEndOffset;
}

public void setHyphenationFrequency(int hyphenationFrequency) {
this.hyphenationFrequency = hyphenationFrequency;
}

public void setClipToBounds(boolean clipToBounds) {
this.clipToBounds = clipToBounds;
}

public void setBreakStrategy(int breakStrategy) {
this.breakStrategy = breakStrategy;
}

public void setJustificationMode(int justificationMode) {
this.justificationMode = justificationMode;
}

public void setHighlightColor(int color) {
this.highlightColor = color;
}
Expand Down

0 comments on commit d86656a

Please sign in to comment.