musicus/data/ui/person_editor.blp

46 lines
806 B
Text

using Gtk 4.0;
using Adw 1;
template $MusicusPersonEditor: Adw.NavigationPage {
title: _("Person");
Adw.ToolbarView {
[top]
Adw.HeaderBar header_bar {}
Adw.Clamp {
Gtk.Box {
orientation: vertical;
Gtk.Label {
label: _("Name");
xalign: 0;
margin-top: 24;
styles [
"heading"
]
}
$MusicusTranslationEditor name_editor {
margin-top: 12;
}
Gtk.ListBox {
selection-mode: none;
margin-top: 24;
styles [
"boxed-list"
]
Adw.ButtonRow save_row {
title: _("_Create person");
use-underline: true;
activated => $save() swapped;
}
}
}
}
}
}