page-wrapper: inherit from AdwBin

This commit is contained in:
Peter Eisenmann
2024-06-06 00:06:10 +02:00
parent 085e838fe8
commit 72c8a87aff
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
using Gtk 4.0;
using Adw 1;
template $PageWrapper : Box {
template $PageWrapper : Adw.Bin {
Adw.Clamp {
maximum-size: 500;
tightening-threshold: 352;

View File

@@ -66,7 +66,7 @@ class MultiSelectionRow(Adw.ComboRow):
@Gtk.Template(resource_path='/com/github/p3732/os-installer/ui/widgets/page_wrapper.ui')
class PageWrapper(Gtk.Box):
class PageWrapper(Adw.Bin):
__gtype_name__ = __qualname__
content = Gtk.Template.Child()