You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#568 (comment) says that we have huge margin between TextField and its placeholderLabel.
Currently a TextField with placeholder looks like this:
Layers:
But after applying the fix in the above linked comment we got this:
Layers:
Somehow, placeholderLabel.bounds.height returns 32.0 but placeholderLabel.frame.height gives 24.0. But why?
@DanielDahan I personally always increased placeholderVerticalOffset to lower that margin. I thought it has that height by design lol. It would be great if @jbaez sends his fix for this as a PR.
The text was updated successfully, but these errors were encountered:
I just sent a PR with the fix. @OrkhanAlikhanov that's exactly the issue. The placeholder used to be positioned right above the textfield by using the frame height (24.0)
#568 (comment) says that we have huge margin between
TextField
and itsplaceholderLabel
.Currently a
TextField
with placeholder looks like this:Layers:
But after applying the fix in the above linked comment we got this:
Layers:
Somehow,
placeholderLabel.bounds.height
returns32.0
butplaceholderLabel.frame.height
gives24.0
. But why?@DanielDahan I personally always increased
placeholderVerticalOffset
to lower that margin. I thought it has that height by design lol. It would be great if @jbaez sends his fix for this as a PR.The text was updated successfully, but these errors were encountered: