summaryrefslogtreecommitdiff
path: root/src/ios.m
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-12-04 19:18:41 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-12-04 19:18:41 +0200
commit8050511b683d89c5ef907bc461b98e9aaaa051a7 (patch)
treef3217314c17abe8947bda0d4021f7bb69a13a190 /src/ios.m
parent8c0ce575d06e10ac9f2ec60c0816443005533d53 (diff)
iOS: Right-aligned input fields
Diffstat (limited to 'src/ios.m')
-rw-r--r--src/ios.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ios.m b/src/ios.m
index be1e644f..59d02fc4 100644
--- a/src/ios.m
+++ b/src/ios.m
@@ -663,7 +663,7 @@ void init_SystemTextInput(iSystemTextInput *d, int flags) {
663 [field setAutocapitalizationType:UITextAutocapitalizationTypeNone]; 663 [field setAutocapitalizationType:UITextAutocapitalizationTypeNone];
664 [field setSpellCheckingType:UITextSpellCheckingTypeNo]; 664 [field setSpellCheckingType:UITextSpellCheckingTypeNo];
665 } 665 }
666 if (flags & alignRight_WidgetFlag) { 666 if (flags & alignRight_SystemTextInputFlag) {
667 [field setTextAlignment:NSTextAlignmentRight]; 667 [field setTextAlignment:NSTextAlignmentRight];
668 } 668 }
669 [field setDelegate:appState_]; 669 [field setDelegate:appState_];