From 776d917183f179545dbed6888788a8e3c0e5a7a7 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 8 Dec 2021 15:54:05 +0200 Subject: iOS: Fixed text field position was shifting The field was not tall enough, so it was scrolling slightly. Some of the changes in InputWidget may have been unnecessary. --- src/ios.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ios.m') diff --git a/src/ios.m b/src/ios.m index 6d0a8d0f..6a30c8a8 100644 --- a/src/ios.m +++ b/src/ios.m @@ -695,7 +695,7 @@ static CGRect convertToCGRect_(const iRect *rect, iBool expanded) { frame.origin.x -= inset + 1; frame.origin.y -= inset + 1; frame.size.width += 2 * inset + 2; - frame.size.height += inset + 1; + frame.size.height += inset + 1 + inset; } return frame; } -- cgit v1.2.3