Document Info: say in the row comment which values wrap

This commit is contained in:
dotCooCoo committed 2026-11-28 15:46:16 -08:00
1 parent 7dd3aa5047
commit 533a923fa1
1 file changed
+2 -2
+2 -2
View File
@@ -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);
});