migueldeicaza / MonoTouch.Dialog

Tools to simplify creating dialogs with the user using MonoTouch
MIT License
430 stars 211 forks source link

[Fix] EntryElement: TextField misalignment on cell reuse #244

Closed Arul- closed 6 years ago

Arul- commented 7 years ago

How to reproduce the issue

  1. Load the DemoRelectionApi Sample

screen shot 2016-10-01 at 9 00 02 pm

I have added a grey background to the textfield to highlight the issue

  1. Rotate or navigate in to TimeSettings and come back

screen shot 2016-10-01 at 9 00 31 pm

Solution

Don't re assign the computed frame on cell reuse. This fixes the entry element misalignment.