Skip to content

sidebar: Improve items look and interactions

Kévin Commaille requested to merge (removed):sidebar into fractal-next

I created a CategoryRow widget inspired by GtkTreeExpander (for the functionality) and AdwExpanderRow (for the look).

There's also SingleSelectionManual which basically works the same as GtkSingleSelection, except to change the selection you can only use set_selected and not GtkSelectionModel::select_item. That prevents the default behavior of GtkListView to change the selection when navigating with the up and down arrows. Now the selection changes only on activate (single click or Enter key).

I put some comments in the code where it was probably hard to guess why this code is necessary.

sidebar

Closes #749 (closed)

Merge request reports