mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Upgrade Vizia for the cosmic-text changes
This brings some breaking changes, and vertical positioning of text may have changed slightly.
This commit is contained in:
@@ -41,7 +41,9 @@ pub(crate) fn create(
|
||||
|
||||
VStack::new(cx, |cx| {
|
||||
Label::new(cx, "Gain GUI")
|
||||
.font(assets::NOTO_SANS_THIN)
|
||||
.font_family(vec![FamilyOwned::Name(String::from(
|
||||
assets::NOTO_SANS_THIN,
|
||||
))])
|
||||
.font_size(30.0)
|
||||
.height(Pixels(50.0))
|
||||
.child_top(Stretch(1.0))
|
||||
|
||||
Reference in New Issue
Block a user