mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
41 lines
658 B
Text
41 lines
658 B
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
template $MusicusSliderRow: Adw.PreferencesRow {
|
|
activatable: false;
|
|
|
|
Gtk.Box {
|
|
orientation: vertical;
|
|
spacing: 12;
|
|
margin-top: 12;
|
|
margin-bottom: 12;
|
|
margin-start: 12;
|
|
margin-end: 12;
|
|
|
|
Gtk.Box {
|
|
spacing: 12;
|
|
|
|
Gtk.Label {
|
|
label: bind template.title;
|
|
wrap: true;
|
|
xalign: 0.0;
|
|
hexpand: true;
|
|
}
|
|
|
|
Gtk.Label value_label {
|
|
xalign: 1.0;
|
|
valign: center;
|
|
|
|
styles [
|
|
"numeric",
|
|
]
|
|
}
|
|
}
|
|
|
|
Gtk.Scale {
|
|
adjustment: bind template.adjustment;
|
|
hexpand: true;
|
|
valign: center;
|
|
}
|
|
}
|
|
}
|