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
So, I ended up tracking down this issue after my app is not displaying the entirety of the detail label when there is a left image. Specifically, I believe there is an issue in the following code:
We're taking the bounds of the entirety of the textfield (which includes the left image's width) and using that to compute the height of the detail label. Unfortunately, this is incorrect, because the detail label does not go across the full width of the view, it follows the width of the actual textfield only.
So in my case, I'm getting an incorrect height, because my detail text COULD fit in one line (height of 16) if the detail label stretched the whole width, HOWEVER, since this isn't the case, I really need a height of 32. I believe the correct fix is to use detailLabel.frame.width there, as that's the actual width of the label that we're sizing.
I've made the changes locally, so I've had to essentially detatch myself from updates for this class until this is fixed :(
The text was updated successfully, but these errors were encountered:
So, I ended up tracking down this issue after my app is not displaying the entirety of the detail label when there is a left image. Specifically, I believe there is an issue in the following code:
The issue is the following line, specifically:
We're taking the bounds of the entirety of the textfield (which includes the left image's width) and using that to compute the height of the detail label. Unfortunately, this is incorrect, because the detail label does not go across the full width of the view, it follows the width of the actual textfield only.
So in my case, I'm getting an incorrect height, because my detail text COULD fit in one line (height of 16) if the detail label stretched the whole width, HOWEVER, since this isn't the case, I really need a height of 32. I believe the correct fix is to use detailLabel.frame.width there, as that's the actual width of the label that we're sizing.
I've made the changes locally, so I've had to essentially detatch myself from updates for this class until this is fixed :(
The text was updated successfully, but these errors were encountered: