Quantcast
Channel: Flutter wrong position of text in textfield after changing height - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Image may be NSFW.
Clik here to view.

Answer by Dawid Stefaniak for Flutter wrong position of text in textfield...

Set contentPadding to EdgeInsets.symmetric(horizontal: 0) in InputDecoration. This will remove the default horizontal padding for the Text:Container( height: 35, child: TextField( decoration:...

View Article


Image may be NSFW.
Clik here to view.

Flutter wrong position of text in textfield after changing height

According to my design I have a TextField with 30pt of height.Here's how I am trying to do that:Container( height: 30, child: new TextField( textAlign: TextAlign.start, decoration: new InputDecoration(...

View Article
Browsing latest articles
Browse All 2 View Live