fix(import + expand): change import and fix expand of box node

This commit is contained in:
doryan 2024-07-19 23:38:43 +04:00
parent 7e30117c84
commit 74835302ce

View File

@ -1,4 +1,4 @@
use gtk4 as gtk; use gtk4::{self as gtk, prelude::WidgetExt, Align};
#[allow(unused)] #[allow(unused)]
use gtk::{ use gtk::{
@ -42,6 +42,7 @@ impl Builder<Pages, Page<'_>, i32> for PagesBuilder {
wrapper.append(&stack_sidebar); wrapper.append(&stack_sidebar);
wrapper.append(&self.pages_content); wrapper.append(&self.pages_content);
wrapper.set_vexpand(true);
Pages { wrapper } Pages { wrapper }
} }
@ -73,4 +74,3 @@ impl PagesBuilder {
self self
} }
} }