mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Update resize handle for upstream vizia changes
This commit is contained in:
@@ -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);
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user