mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Update Diopser for cosmic-text changes
This commit is contained in:
@@ -90,7 +90,7 @@ fn top_bar(cx: &mut Context) {
|
|||||||
assets::NOTO_SANS_THIN,
|
assets::NOTO_SANS_THIN,
|
||||||
))])
|
))])
|
||||||
.font_size(37.0)
|
.font_size(37.0)
|
||||||
.top(Pixels(-2.0))
|
.top(Pixels(2.0))
|
||||||
.left(Pixels(8.0))
|
.left(Pixels(8.0))
|
||||||
.on_mouse_down(|_, _| {
|
.on_mouse_down(|_, _| {
|
||||||
// Try to open the Diopser plugin's page when clicking on the title. If this fails
|
// Try to open the Diopser plugin's page when clicking on the title. If this fails
|
||||||
@@ -174,6 +174,7 @@ fn spectrum_analyzer(cx: &mut Context) {
|
|||||||
|
|
||||||
Label::new(cx, "Frequency")
|
Label::new(cx, "Frequency")
|
||||||
.font_size(18.0)
|
.font_size(18.0)
|
||||||
|
.top(Pixels(2.0))
|
||||||
.width(Stretch(1.0))
|
.width(Stretch(1.0))
|
||||||
.height(Pixels(20.0))
|
.height(Pixels(20.0))
|
||||||
.child_space(Stretch(1.0));
|
.child_space(Stretch(1.0));
|
||||||
|
|||||||
Reference in New Issue
Block a user