make response title selectable

This commit is contained in:
yggverse 2025-03-14 21:35:28 +02:00
parent 1aae5a0f28
commit 76c0e1970a
2 changed files with 3 additions and 0 deletions

View file

@ -10,6 +10,7 @@ impl Title for Label {
.css_classes(["heading"]) .css_classes(["heading"])
.halign(Align::Start) .halign(Align::Start)
.label(title.unwrap_or("Input expected")) .label(title.unwrap_or("Input expected"))
.selectable(true)
.build() .build()
} }
} }

View file

@ -21,6 +21,8 @@ impl Form {
if let Some(value) = title { if let Some(value) = title {
password_entry_row.set_title(value); password_entry_row.set_title(value);
/* @TODO has no effect
password_entry_row.set_title_selectable(true); */
} }
/* @TODO adw 1.6 / ubuntu 24.10+ /* @TODO adw 1.6 / ubuntu 24.10+