Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void handleFocusChange() {
- TextField textField = getControl();
- if (textField.isFocused()) {
- if (PlatformUtil.isIOS()) {
- ...
- textField.getScene().getWindow().impl_getPeer().requestInput(text, type.ordinal(), w, h,
- trans.getMxx(), trans.getMxy(), trans.getMxz(), trans.getMxt(),// + insets.getLeft(),
- trans.getMyx(), trans.getMyy(), trans.getMyz(), trans.getMyt(),// + insets.getTop(),
- trans.getMzx(), trans.getMzy(), trans.getMzz(), trans.getMzt(), textField.getFont().getSize());
- ...
- }
- }
- }
- UITextField* textField = [[UITextField alloc] initWithFrame:CGRectMake(mxt + 1, myt + 1, mxx * (width - 2), myy * (height - 2))];
Add Comment
Please, Sign In to add comment