Split composers and performers

This commit is contained in:
Elias Projahn 2023-10-08 15:11:47 +02:00
parent 84612673c1
commit af57fe020c
5 changed files with 137 additions and 48 deletions

View file

@ -45,12 +45,28 @@ template $MusicusHomePage : Adw.NavigationPage {
Gtk.Label {
styles ["heading"]
visible: bind persons_flow_box.visible;
visible: bind composers_flow_box.visible;
halign: start;
label: _("Composers and performers");
label: _("Composers");
}
Gtk.FlowBox persons_flow_box {
Gtk.FlowBox composers_flow_box {
margin-top: 12;
margin-bottom: 24;
column-spacing: 12;
row-spacing: 12;
homogeneous: true;
selection-mode: none;
}
Gtk.Label {
styles ["heading"]
visible: bind performers_flow_box.visible;
halign: start;
label: _("Performers");
}
Gtk.FlowBox performers_flow_box {
margin-top: 12;
margin-bottom: 24;
column-spacing: 12;