mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Convert filter window to an adw.dialog
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user