From dec9bfd16f2448c2d92b806f44f216b54800bacb Mon Sep 17 00:00:00 2001 From: Econa77 Date: Wed, 23 Feb 2022 21:00:34 +0900 Subject: [PATCH] Change placeholder label position --- NextGrowingTextView/NextGrowingInternalTextView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NextGrowingTextView/NextGrowingInternalTextView.swift b/NextGrowingTextView/NextGrowingInternalTextView.swift index 32a2881..75a86d8 100644 --- a/NextGrowingTextView/NextGrowingInternalTextView.swift +++ b/NextGrowingTextView/NextGrowingInternalTextView.swift @@ -114,7 +114,7 @@ internal class NextGrowingInternalTextView: UITextView { } placeholderDisplayLabel.frame = CGRect( origin: .init( - x: 5 + textContainerInset.left, + x: textContainerInset.left, y: textContainerInset.top ), size: size