mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Add preferences for default program
This commit is contained in:
parent
653d5cd629
commit
fa94d61e1e
11 changed files with 367 additions and 28 deletions
41
data/ui/slider_row.blp
Normal file
41
data/ui/slider_row.blp
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue