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
{{ message }}
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
If you want to insert text(setTextString) that does not fit into ofxUITextInput it gets cut. Not whole text is inserted - only the visible part.
If you write text inside by yourself (with keyboard) ofxUITextInput works great. Even if there is to much text to be fitted inside you can slide with cursor to see it all.
The problem is in ofxUITextInput.cpp, from line 405:
if(newWidth < rect->getWidth()-padding*2.0)
If you comment that out and add recalculateDisplayString(); at the end of the function, it works as it should.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you want to insert text(setTextString) that does not fit into ofxUITextInput it gets cut. Not whole text is inserted - only the visible part.
If you write text inside by yourself (with keyboard) ofxUITextInput works great. Even if there is to much text to be fitted inside you can slide with cursor to see it all.
The problem is in ofxUITextInput.cpp, from line 405:
If you comment that out and add recalculateDisplayString(); at the end of the function, it works as it should.
The text was updated successfully, but these errors were encountered: