Disable focus on action rows with child widgets

This commit is contained in:
Elias Projahn 2021-11-12 00:44:09 +01:00
parent 61a440e45c
commit 2c1fe19b05
35 changed files with 162 additions and 124 deletions

View file

@ -225,10 +225,11 @@ impl Screen<(), ()> for PlayerScreen {
parts.join(", ")
};
let row = adw::ActionRow::new();
row.set_selectable(false);
row.set_activatable(true);
row.set_title(&title);
let row = adw::ActionRowBuilder::new()
.selectable(false)
.activatable(true)
.title(&title)
.build();
if first {
let subtitle = if !parts.is_empty() {