Skip to content

Commit fed5301

Browse files
committed
Add an example in TextWrapping::overflow_character documentation
So people have a place to copy `…` from, which is what most will probably want to use.
1 parent a96ae93 commit fed5301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

epaint/src/text/text_layout_types.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ pub struct TextWrapping {
272272
/// Don't try to break text at an appropriate place.
273273
pub break_anywhere: bool,
274274

275-
/// Character to use to represent clipped text.
275+
/// Character to use to represent clipped text, `…` for example.
276276
pub overflow_character: Option<char>,
277277
}
278278

0 commit comments

Comments
 (0)