Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Textfield in ofxiPhoneKeyboard upside down in landscape #565

Closed
labatrockwell opened this Issue · 2 comments

4 participants

LAB at Rockwell Group Rick Companje Theodore Watson lukasz karluk
LAB at Rockwell Group

I'm fixing it using
_textField.transform = CGAffineTransformMakeRotation(M_PI*1.5f);
in - (void) setFrame: (CGRect) rect
to fix it now.

Rick Companje

Thanks, I also needed to change something in the line above. My code is:

....
case OFXIPHONE_ORIENTATION_LANDSCAPE_RIGHT:
[_textField setFrame: CGRectMake(rect.origin.y , rect.origin.x, rect.size.height, rect.size.width)];
_textField.transform = CGAffineTransformMakeRotation(M_PI*1.5f);
break;
....

lukasz karluk julapy was assigned
Theodore Watson
Owner

closed by #3117

Theodore Watson ofTheo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.