Skip to content

Commit

Permalink
Update label.rs
Browse files Browse the repository at this point in the history
`truncate` default value is `true` to prevent egui::window size from increasing.
  • Loading branch information
rustbasic authored Jan 26, 2024
1 parent 6b0782c commit ed8916d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/widgets/label.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ impl Label {
Self {
text: text.into(),
wrap: None,
truncate: false,
truncate: true,
sense: None,
selectable: None,
}
Expand Down

0 comments on commit ed8916d

Please sign in to comment.