Guest User

Untitled

a guest
Mar 18th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. private void handleFocusChange() {
  2. TextField textField = getControl();
  3.  
  4. if (textField.isFocused()) {
  5. if (PlatformUtil.isIOS()) {
  6. ...
  7. textField.getScene().getWindow().impl_getPeer().requestInput(text, type.ordinal(), w, h,
  8. trans.getMxx(), trans.getMxy(), trans.getMxz(), trans.getMxt(),// + insets.getLeft(),
  9. trans.getMyx(), trans.getMyy(), trans.getMyz(), trans.getMyt(),// + insets.getTop(),
  10. trans.getMzx(), trans.getMzy(), trans.getMzz(), trans.getMzt(), textField.getFont().getSize());
  11. ...
  12. }
  13. }
  14. }
  15.  
  16. UITextField* textField = [[UITextField alloc] initWithFrame:CGRectMake(mxt + 1, myt + 1, mxx * (width - 2), myy * (height - 2))];
Add Comment
Please, Sign In to add comment