YCAMInterlab / Duration

Duration is an application for designing change over time
334 stars 54 forks source link

DurationRemote: confusion between font and fontsize #42

Open Daandelange opened 9 years ago

Daandelange commented 9 years ago

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 ?

Daandelange commented 9 years ago

( it breaks the interface according to the screenshot in the readme.md )