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(
decoration: InputDecoration(
labelText: labelText,
contentPadding: EdgeInsets.only(right: 12, top: 12, bottom: 12),
contentPadding: EdgeInsets.only(right: 10, top: 12, bottom: 12),
),
isEmpty: isEmpty,
child: dropDownButton);

View File

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