Skip to content

Commit

Permalink
Add an example in TextWrapping::overflow_character documentation
Browse files Browse the repository at this point in the history
So people have a place to copy `…` from,
which is what most will probably want to use.
  • Loading branch information
awaken1ng committed Feb 23, 2022
1 parent f237855 commit c317acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epaint/src/text/text_layout_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ pub struct TextWrapping {
/// Don't try to break text at an appropriate place.
pub break_anywhere: bool,

/// Character to use to represent clipped text.
/// Character to use to represent clipped text, `…` for example.
pub overflow_character: Option<char>,
}

Expand Down

0 comments on commit c317acb

Please sign in to comment.