Using setFont() with g4p_controls
in
Contributed Library Questions
•
9 months ago
Hello!
I just updated to the latest versions of G4P and the G4P Tool, but now setFont() isn't working to control the font used in my GLabels. Is this because of the new StyledString that was implemented?
Back when the G4P GUI Builder had "import guicomponents.*", after I created a label I could go:
label1.setFont("Arial",24);
and the font would change.
Can anybody tell me how to set the font now?
I just updated to the latest versions of G4P and the G4P Tool, but now setFont() isn't working to control the font used in my GLabels. Is this because of the new StyledString that was implemented?
Back when the G4P GUI Builder had "import guicomponents.*", after I created a label I could go:
label1.setFont("Arial",24);
and the font would change.
Can anybody tell me how to set the font now?
1