UI alignment

This commit is contained in:
Hillel Coren 2020-12-16 21:45:29 +02:00
parent f031dbcc26
commit 10c0e73783
5 changed files with 1 additions and 6 deletions

View File

@ -1988,7 +1988,6 @@ abstract class SettingsEntity
bool doesPdfHaveField(String section, String field) {
final fields = getFieldsForSection(section);
print('## FIELDs: $fields');
return fields.contains(field);
}

View File

@ -1,5 +1,4 @@
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_redux/flutter_redux.dart';
import 'package:invoiceninja_flutter/redux/app/app_state.dart';
import 'package:invoiceninja_flutter/utils/localization.dart';
@ -61,7 +60,6 @@ class AppDropdownButton<T> extends StatelessWidget {
dropDownButton = InputDecorator(
decoration: InputDecoration(
labelText: labelText,
contentPadding: EdgeInsets.only(right: 10, top: 12, bottom: 12),
),
isEmpty: isEmpty,
child: dropDownButton);

View File

@ -59,7 +59,6 @@ class DiscountField extends StatelessWidget {
onChanged: onTypeChanged,
),
),
SizedBox(width: 12),
],
);
}

View File

@ -74,7 +74,6 @@ 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,

View File

@ -160,7 +160,7 @@ class _EntityListState extends State<EntityList> {
scrollbarTimeToFade: Duration(seconds: 1),
controller: _scrollController,
child: ListView.separated(
padding: const EdgeInsets.symmetric(vertical: 20),
padding: const EdgeInsets.symmetric(vertical: 25),
controller: _scrollController,
separatorBuilder: (context, index) =>
(index == 0 || index == entityList.length)