mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Fix typos (#4640)
This commit is contained in:
@@ -226,7 +226,7 @@ fn label_ui(ui: &mut egui::Ui) {
|
||||
|
||||
ui.add(
|
||||
egui::Label::new(
|
||||
"Labels containing long text can be set to elide the text that doesn't fit on a single line using `Label::elide`. When hovered, the label will show the full text.",
|
||||
"Labels containing long text can be set to elide the text that doesn't fit on a single line using `Label::truncate`. When hovered, the label will show the full text.",
|
||||
)
|
||||
.truncate(),
|
||||
);
|
||||
|
||||
@@ -63,7 +63,7 @@ impl super::View for Tooltips {
|
||||
});
|
||||
};
|
||||
let disabled_tooltip_ui = |ui: &mut egui::Ui| {
|
||||
ui.label("A fifferent tooltip when widget is disabled.");
|
||||
ui.label("A different tooltip when widget is disabled.");
|
||||
ui.horizontal(|ui| {
|
||||
ui.label("This tooltip was created with");
|
||||
ui.code(".on_disabled_hover_ui(…)");
|
||||
|
||||
Reference in New Issue
Block a user