diff --git a/crates/ui-egui/src/panels/doc_info.rs b/crates/ui-egui/src/panels/doc_info.rs index e42161b89e..64d9b2e101 100644 --- a/crates/ui-egui/src/panels/doc_info.rs +++ b/crates/ui-egui/src/panels/doc_info.rs @@ -45,8 +45,8 @@ pub(crate) fn row(ui: &mut Ui, label: &str, value: &str) -> bool { Row::new().fill_width().align(RowAlign::SpaceBetween).wrap(!fits).show(ui, |ui, _| { Text::new(label.to_string()).shade(Shade::Muted).show(ui); // The value can be selected and copied, and a click copies all of it (#8432). A drag selects - // and a Shift-click extends the selection, so neither copies. A value too long to fit beside - // its label wraps inside the panel. + // and a Shift-click extends the selection, so neither copies. A value wider than the panel + // wraps inside it. let shown = SelectableText::new(label.to_string(), value).multiline().show(ui); clicked = copy_shown(ui, &shown, value); });