You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Just found out that in Duration Remote, there's a confusion in the testApp::setup(). gui->addTextInput("bla bla", "bla bla", 300); addTextInput's 3rd argument is the font size (of enum type ofxUIWidgetFontType), not the widget size.
This results a runtime error (nullpointer as font is NULL)
I fixed it by replacing the 3rd argument with OFX_UI_FONT_MEDIUM and everything works fine.
Is that the right behaviour or did something weird happen to ofxUI ?
The text was updated successfully, but these errors were encountered:
Hello,
Just found out that in Duration Remote, there's a confusion in the
testApp::setup()
.gui->addTextInput("bla bla", "bla bla", 300);
addTextInput
's 3rd argument is the font size (of enum typeofxUIWidgetFontType
), not the widget size.This results a runtime error (nullpointer as
font
isNULL
)I fixed it by replacing the 3rd argument with
OFX_UI_FONT_MEDIUM
and everything works fine.Is that the right behaviour or did something weird happen to ofxUI ?
The text was updated successfully, but these errors were encountered: