editor: Add missing margins

This commit is contained in:
Elias Projahn 2025-03-01 11:18:15 +01:00
parent 757022393f
commit a13e406e99
5 changed files with 170 additions and 145 deletions

View file

@ -8,36 +8,41 @@ template $MusicusInstrumentEditor: Adw.NavigationPage {
[top]
Adw.HeaderBar header_bar {}
Adw.Clamp {
Gtk.Box {
orientation: vertical;
Gtk.ScrolledWindow {
Adw.Clamp {
Gtk.Box {
orientation: vertical;
margin-bottom: 24;
margin-start: 12;
margin-end: 12;
Gtk.Label {
label: _("Name");
xalign: 0;
margin-top: 24;
Gtk.Label {
label: _("Name");
xalign: 0;
margin-top: 24;
styles [
"heading"
]
}
styles [
"heading",
]
}
$MusicusTranslationEditor name_editor {
margin-top: 12;
}
$MusicusTranslationEditor name_editor {
margin-top: 12;
}
Gtk.ListBox {
selection-mode: none;
margin-top: 24;
Gtk.ListBox {
selection-mode: none;
margin-top: 24;
styles [
"boxed-list"
]
styles [
"boxed-list",
]
Adw.ButtonRow save_row {
title: _("_Create instrument");
use-underline: true;
activated => $save() swapped;
Adw.ButtonRow save_row {
title: _("_Create instrument");
use-underline: true;
activated => $save() swapped;
}
}
}
}