Hi, I have three input fields using ‘TextPropertyComponent’
Initialised one with:
…
name = std::make_unique<TextPropertyComponent>(Value(var("")), "Full name from purchase: ", 128, false);
name->setLookAndFeel(regWindowLook.get());
name->setWantsKeyboardFocus(true);
name->setMouseClickGrabsKeyboardFocus(true);
name->setBounds(4, 200, getLocalBounds().getWidth(), 45);
name->addListener(this);
…
I want to display a UTF8 that has Japanese characters in it, like “Noto Sans Japanese”.
If I replaced the getLabelFont, by overiding it in the Look and Feel and bodging in…
Font getLabelFont(Label& label) override
{
return notoSans;
}
Unfortunately it looks far too small for the text box…
I’ve tried overriding the drawLabel code to enlarge the font, but it only seems to enlarge the finished text, and not the one I’m typing.
What displays the text I’m typing? The line ‘email from purchase’ is being type in. As you can see, it’s far too small. I’ve tried five different fonts and they’re all give me tiny writing.
How do I get the typing text to fit in the box properly?

