From 709e0128481f40ec2c195b94d2142085803b6473 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 14 Feb 2020 10:26:24 +0200 Subject: [PATCH] Reports --- lib/ui/reports/reports_screen.dart | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/ui/reports/reports_screen.dart b/lib/ui/reports/reports_screen.dart index 303a5c30f..83d4d0675 100644 --- a/lib/ui/reports/reports_screen.dart +++ b/lib/ui/reports/reports_screen.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:flutter/widgets.dart'; import 'package:flutter_redux/flutter_redux.dart'; import 'package:flutter_typeahead/flutter_typeahead.dart'; import 'package:invoiceninja_flutter/constants.dart'; @@ -671,8 +672,12 @@ class ReportBoolValue extends ReportElement { @override Widget renderWidget(BuildContext context, String column) { final localization = AppLocalization.of(context); - return Text( - value == true ? localization.yes : localization.no, + return SizedBox( + width: 80, + child: Text( + value == true ? localization.yes : localization.no, + textAlign: TextAlign.center, + ), ); }