Skip to content

Commit

Permalink
Merge pull request #30 from mehedimi/fix/readme
Browse files Browse the repository at this point in the history
fix: remove invalid semicolon from README.md
  • Loading branch information
jay3332 authored Mar 25, 2024
2 parents c004ec0 + b9a7503 commit 1eb85bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ let layout = TextLayout::new()
.centered() // Shorthand for centering horizontally and vertically
.with_wrap(WrapStyle::Word) // RIL supports word wrapping
.with_width(image.width()) // This is the width to wrap text at. Only required if you want to wrap text.
.with_position(x, y); // Position the anchor (which is the center) at the center of the image
.with_position(x, y) // Position the anchor (which is the center) at the center of the image
.with_segment(&TextSegment::new(&font, "Here is some ", Rgb::white()))
.with_segment(&TextSegment::new(&bold, "bold ", Rgb::white()))
.with_segment(&TextSegment::new(&font, "text.", Rgb::white()));
Expand Down

0 comments on commit 1eb85bf

Please sign in to comment.