diff --git a/plugins/spectral_compressor/src/editor.rs b/plugins/spectral_compressor/src/editor.rs index 7eea8e17..48c11f05 100644 --- a/plugins/spectral_compressor/src/editor.rs +++ b/plugins/spectral_compressor/src/editor.rs @@ -139,11 +139,13 @@ fn main_column(cx: &mut Context) { .top(Stretch(1.0)) .bottom(Pixels(4.0)) .left(Pixels(2.0)); - }); + }) + .size(Auto); }) .height(Pixels(30.0)) .right(Pixels(17.0)) - .bottom(Pixels(-5.0)) + // Somehow this overrides the 'row-between' value now + .bottom(Pixels(8.0)) .left(Pixels(10.0)) .top(Pixels(10.0)) // This contains the editor mode buttom all the way on the left, and the plugin's name all the way on the right @@ -163,16 +165,14 @@ fn main_column(cx: &mut Context) { use this in a project, make sure to bounce things to audio just in case \ they'll sound different later.", ) + .text_wrap(true) .font_size(11.0) .left(Pixels(15.0)) .right(Pixels(8.0)) - // The column isn't tall enough without this, for some reason - .bottom(Pixels(20.0)) .width(Stretch(1.0)); }); }) - .height(Auto) - .width(Stretch(1.0)); + .size(Auto); HStack::new(cx, |cx| { make_column(cx, "Upwards", |cx| { @@ -214,11 +214,10 @@ fn main_column(cx: &mut Context) { }); }); }) - .height(Auto) - .width(Stretch(1.0)); + .size(Auto); }) .width(Pixels(COLLAPSED_GUI_WIDTH as f32)) - .row_between(Pixels(15.0)) + .row_between(Pixels(10.0)) .child_left(Stretch(1.0)) .child_right(Stretch(1.0)); }