|
@@ -22,6 +22,7 @@ impl<C: Component> Frame<C> {
|
|
.set_arrangement(ChildArrangement::Container)
|
|
.set_arrangement(ChildArrangement::Container)
|
|
.set_height_policy(SizePolicy::expanding(1))
|
|
.set_height_policy(SizePolicy::expanding(1))
|
|
.set_width_policy(SizePolicy::expanding(1));
|
|
.set_width_policy(SizePolicy::expanding(1));
|
|
|
|
+ *nnode.margin_mut() = PixelSideOffsets::new_all_same(uih.theme().border_width as i32);
|
|
Self {
|
|
Self {
|
|
layout: nnode,
|
|
layout: nnode,
|
|
child: None,
|
|
child: None,
|