Correct column widths

This commit is contained in:
Hillel Coren 2022-04-28 18:40:50 +03:00
parent 3c1f94774d
commit 7678b5127b
1 changed files with 0 additions and 7 deletions

View File

@ -276,15 +276,8 @@ class _EntityListState extends State<EntityList> {
'custom', entityType.snakeCase); 'custom', entityType.snakeCase);
label = state.company.getCustomFieldLabel(key); label = state.company.getCustomFieldLabel(key);
} }
var minWidth = kTableColumnWidthMin;
if (field == ProductFields.description) {
minWidth *= 4;
}
return DataColumn( return DataColumn(
label: Container( label: Container(
constraints: BoxConstraints(
minWidth: minWidth,
),
child: Text( child: Text(
label, label,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,