Update resize handle for upstream vizia changes

This commit is contained in:
Robbert van der Helm
2023-11-14 22:46:10 +01:00
parent 27763d2632
commit 193ec70b8a
6 changed files with 34 additions and 34 deletions

View File

@@ -47,8 +47,6 @@ pub(crate) fn create(
}
.build(cx);
ResizeHandle::new(cx);
VStack::new(cx, |cx| {
Label::new(cx, "Crisp")
.font_family(vec![FamilyOwned::Name(String::from(assets::NOTO_SANS))])
@@ -71,5 +69,7 @@ pub(crate) fn create(
.row_between(Pixels(0.0))
.child_left(Stretch(1.0))
.child_right(Stretch(1.0));
ResizeHandle::new(cx);
})
}

View File

@@ -74,13 +74,13 @@ pub(crate) fn create(editor_data: Data, editor_state: Arc<ViziaState>) -> Option
editor_data.clone().build(cx);
ResizeHandle::new(cx);
VStack::new(cx, |cx| {
top_bar(cx);
spectrum_analyzer(cx);
other_params(cx);
});
ResizeHandle::new(cx);
})
}

View File

@@ -37,8 +37,6 @@ pub(crate) fn create(
}
.build(cx);
ResizeHandle::new(cx);
VStack::new(cx, |cx| {
Label::new(cx, "Gain GUI")
.font_family(vec![FamilyOwned::Name(String::from(
@@ -64,5 +62,7 @@ pub(crate) fn create(
.row_between(Pixels(0.0))
.child_left(Stretch(1.0))
.child_right(Stretch(1.0));
ResizeHandle::new(cx);
})
}

View File

@@ -89,8 +89,6 @@ pub(crate) fn create(editor_state: Arc<ViziaState>, editor_data: Data) -> Option
editor_data.clone().build(cx);
ResizeHandle::new(cx);
HStack::new(cx, |cx| {
main_column(cx);
@@ -102,6 +100,8 @@ pub(crate) fn create(editor_state: Arc<ViziaState>, editor_data: Data) -> Option
}
});
});
ResizeHandle::new(cx);
})
}