Decathlon/vitamin-ios

bug: arbitrary Leading and Trailing padding on VitaminTextField in Vitamin UIKit

daniel-dumortier opened this issue · 0 comments

Describe the bug

When you integrate a VitaminTextField, a arbitrary leading and trailing padding of 10 are put.
In case you would like the field to take the whole width of its container, you are forced to put a negative constraint.

Steps to reproduce

  • include a VitaminTextField in your layout (IB or programmatically)
  • build your app and display your screen
  • see that you have a 10 point leading and trailing margin

Expected behavior

We could be able to tell that VitaminTextField that no horizontal padding is required

Screenshots

Device (please complete the following information):

  • Model: All
  • OS: all
  • Version: all