rezaali / ofxUI

[DEPRECATED] UI Addon for openFrameworks
http://www.syedrezaali.com/#/ofxui-project-showcase/
518 stars 202 forks source link

ofxUIScrollableCanvas and ofxUITextInput #217

Closed Wazhup closed 10 years ago

Wazhup commented 10 years ago

Hello.

I have a question, and maybe someone can help me out.

I have added 2 ofxUITextInput into one ofxUIScrollableCanvas. Now i want to select one of them and then write and after it do the same to the other one. The problem here is that both textInputs get selected after i select the second one, so when i write in one of them the text written appears in both.

Do you have any ideia to unselect the first textInput when i press the second one?

Thanks for your time.

Wazhup commented 10 years ago

Well seems i solved it... i did setFocus(false) for the first one.