diff --git a/MonoTouch.Dialog/Elements.cs b/MonoTouch.Dialog/Elements.cs index 30aeb601..46518079 100644 --- a/MonoTouch.Dialog/Elements.cs +++ b/MonoTouch.Dialog/Elements.cs @@ -1533,13 +1533,13 @@ SizeF ComputeEntryPosition (UITableView tv, UITableViewCell cell) } } - return new SizeF(25 + Math.Min(maxWidth, 160), maxHeight); + return new SizeF(25 + maxWidth, maxHeight); } protected virtual UITextField CreateTextField (RectangleF frame) { return new UITextField (frame) { - AutoresizingMask = UIViewAutoresizing.FlexibleWidth | UIViewAutoresizing.FlexibleLeftMargin, + AutoresizingMask = UIViewAutoresizing.FlexibleWidth, Placeholder = placeholder ?? "", SecureTextEntry = isPassword, Text = Value ?? "",