mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Use blueprints directly
This commit is contained in:
parent
d0cf77888c
commit
e5bc2ede37
14 changed files with 7 additions and 35 deletions
28
data/ui/playlist_page.blp
Normal file
28
data/ui/playlist_page.blp
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $MusicusPlaylistPage : Adw.Bin {
|
||||
Adw.ToolbarView {
|
||||
[top]
|
||||
Adw.HeaderBar {
|
||||
title-widget: Adw.WindowTitle {
|
||||
title: _("Playlist");
|
||||
};
|
||||
|
||||
[start]
|
||||
Gtk.Button close_button {
|
||||
icon-name: "go-down-symbolic";
|
||||
clicked => $close() swapped;
|
||||
}
|
||||
}
|
||||
|
||||
Gtk.ScrolledWindow {
|
||||
hscrollbar-policy: never;
|
||||
|
||||
Adw.Clamp {
|
||||
maximum-size: 1000;
|
||||
tightening-threshold: 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue