Convert filter window to an adw.dialog

This commit is contained in:
heliguy
2024-03-27 01:34:29 -04:00
parent 852cef44ff
commit 76a8e78502
3 changed files with 9 additions and 12 deletions

View File

@@ -1,16 +1,15 @@
using Gtk 4.0;
using Adw 1;
template $FilterWindow: Adw.Window {
default-width: 500;
default-height: 450;
template $FilterWindow: Adw.Dialog {
title: _("Set Filters");
modal: true;
content-width: 500;
content-height: 450;
child:
Adw.ToolbarView main_toolbar_view {
[top]
HeaderBar header_bar {
show-title-buttons: true;
Adw.HeaderBar header_bar {
}
content: Adw.ToastOverlay toast_overlay {
@@ -80,5 +79,5 @@ template $FilterWindow: Adw.Window {
}
}
};
}
};
}