Decathlon / vitamin-ios

Decathlon Design System UI components for iOS & iPadOS applications
https://www.decathlon.design
Apache License 2.0
48 stars 14 forks source link

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

Closed daniel-dumortier closed 2 years ago

daniel-dumortier commented 2 years ago

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

Expected behavior

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

Screenshots

Device (please complete the following information):