UI alignment
This commit is contained in:
parent
f031dbcc26
commit
10c0e73783
|
|
@ -1988,7 +1988,6 @@ abstract class SettingsEntity
|
|||
|
||||
bool doesPdfHaveField(String section, String field) {
|
||||
final fields = getFieldsForSection(section);
|
||||
print('## FIELDs: $fields');
|
||||
return fields.contains(field);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ class DiscountField extends StatelessWidget {
|
|||
onChanged: onTypeChanged,
|
||||
),
|
||||
),
|
||||
SizedBox(width: 12),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue