editor: Redesign translation section

This commit is contained in:
Elias Projahn 2024-05-31 13:57:14 +02:00
parent 55b344605b
commit 7d3ab7e56b
8 changed files with 80 additions and 45 deletions

View file

@ -1,7 +1,7 @@
using Gtk 4.0;
using Adw 1;
template $MusicusPersonEditor : Adw.NavigationPage {
template $MusicusPersonEditor: Adw.NavigationPage {
title: _("Person");
Adw.ToolbarView {
@ -9,7 +9,19 @@ template $MusicusPersonEditor : Adw.NavigationPage {
Adw.HeaderBar header_bar {}
Adw.Clamp {
$MusicusTranslationSection name_section {}
Gtk.Label {
label: _("Name");
xalign: 0;
margin-top: 24;
styles [
"heading"
]
}
$MusicusTranslationEditor name_editor {
margin-start: 12;
}
}
}
}