fix(import + expand): change import and fix expand of box node
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use gtk4 as gtk;
|
||||
use gtk4::{self as gtk, prelude::WidgetExt, Align};
|
||||
|
||||
#[allow(unused)]
|
||||
use gtk::{
|
||||
@@ -42,6 +42,7 @@ impl Builder<Pages, Page<'_>, i32> for PagesBuilder {
|
||||
|
||||
wrapper.append(&stack_sidebar);
|
||||
wrapper.append(&self.pages_content);
|
||||
wrapper.set_vexpand(true);
|
||||
|
||||
Pages { wrapper }
|
||||
}
|
||||
@@ -73,4 +74,3 @@ impl PagesBuilder {
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user