Setting fonts using .set("Font", "my-font") on midi tiles render error message
-
I am trying to update my fonts using:
my_label.set("fontName", "my-font"); // works fine for labels using 'fontName' property.
But when I try
Font
property on tiles, like so:my_tile.set("Font", "Arial")
it gives an error message:
:! the property does not exist
I tried using fontName for tiles, but they give error messages too. I actually get the result I want, I think, at least it seems so. Perhaps the issue is just the error message api?
(macos, scriptnode branch 2020-08-20)
-
Sorry, my bad. The issue I had was about another property, namely the
fontSize
property of the labels, that was with initial capitalizedF
, asFontSize
in tiles.@Christoph-Hart Perhaps a good change for HISE 3.0? Move those to all-the-same across all object types.
Anyways, solved.