Skip to content

Commit

Permalink
Start to fix spectral_compressor layout
Browse files Browse the repository at this point in the history
  • Loading branch information
geom3trik committed Oct 20, 2023
1 parent 06a341e commit 12251e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions nih_plug_vizia/assets/widgets.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ generic-ui .row {
col-between: 6px;
layout-type: row;
height: auto;
child-top: 1s;
child-bottom: 1s;
}

generic-ui .label {
Expand Down
4 changes: 2 additions & 2 deletions plugins/spectral_compressor/src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ fn main_column(cx: &mut Context) {

Label::new(
cx,
"Parameter ranges and overal gain staging are still subject to change. If you \
"Parameter ranges and overall gain staging are still subject to change. If you \
use this in a project, make sure to bounce things to audio just in case \
they'll sound different later.",
)
Expand Down Expand Up @@ -252,7 +252,7 @@ fn make_column(cx: &mut Context, title: &str, contents: impl FnOnce(&mut Context
.left(Stretch(1.0))
// This should align nicely with the right edge of the slider
.right(Pixels(7.0))
.bottom(Pixels(-10.0));
.background_color(Color::royalblue());

contents(cx);
})
Expand Down

0 comments on commit 12251e3

Please sign in to comment.