UI alignment

This commit is contained in:
Hillel Coren 2020-12-16 21:39:29 +02:00
parent cd620f101b
commit f031dbcc26
2 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class AppDropdownButton<T> extends StatelessWidget {
dropDownButton = InputDecorator( dropDownButton = InputDecorator(
decoration: InputDecoration( decoration: InputDecoration(
labelText: labelText, labelText: labelText,
contentPadding: EdgeInsets.only(right: 12, top: 12, bottom: 12), contentPadding: EdgeInsets.only(right: 10, top: 12, bottom: 12),
), ),
isEmpty: isEmpty, isEmpty: isEmpty,
child: dropDownButton); child: dropDownButton);

View File

@ -74,6 +74,7 @@ class _TaxRateDropdownState extends State<TaxRateDropdown> {
return InputDecorator( return InputDecorator(
decoration: InputDecoration( decoration: InputDecoration(
contentPadding: EdgeInsets.only(right: 10, top: 12, bottom: 12),
labelText: widget.labelText, labelText: widget.labelText,
), ),
isEmpty: taxRate == null || taxRate.isEmpty, isEmpty: taxRate == null || taxRate.isEmpty,