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 ?
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 asfont
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 ?