From 6399441f7cd4c2628b139e5b0585f0bdde297f84 Mon Sep 17 00:00:00 2001 From: daemmon Date: Sun, 27 Mar 2016 00:58:06 +0200 Subject: [PATCH] UITextField different textRect for editing and static text. #344 UITextField+NUI.m fix override_editingRectForBounds method. --- NUI/UI/UITextField+NUI.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NUI/UI/UITextField+NUI.m b/NUI/UI/UITextField+NUI.m index 68921e21..b58f24d5 100644 --- a/NUI/UI/UITextField+NUI.m +++ b/NUI/UI/UITextField+NUI.m @@ -59,7 +59,7 @@ - (CGRect)override_textRectForBounds:(CGRect)bounds { } - (CGRect)override_editingRectForBounds:(CGRect)bounds { - return [self textRectForBounds:bounds]; + return [self override_editingRectForBounds:bounds]; } @end