mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Add mechanism to show playlist page
This commit is contained in:
parent
5fd958644e
commit
d0cf77888c
8 changed files with 135 additions and 8 deletions
28
data/res/playlist_page.blp
Normal file
28
data/res/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