Handle long company names
This commit is contained in:
parent
e95b0baf82
commit
bb846e0bf5
|
|
@ -77,7 +77,11 @@ class AppDrawer extends StatelessWidget {
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Text(company.name, style: Theme.of(context).textTheme.subhead),
|
Text(
|
||||||
|
company.name,
|
||||||
|
style: Theme.of(context).textTheme.subhead,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
),
|
||||||
Text(company.user.email,
|
Text(company.user.email,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
style: Theme.of(context).textTheme.caption),
|
style: Theme.of(context).textTheme.caption),
|
||||||
|
|
@ -119,7 +123,11 @@ class AppDrawer extends StatelessWidget {
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Text(company.name),
|
Text(
|
||||||
|
company.name,
|
||||||
|
style: Theme.of(context).textTheme.subhead,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
),
|
||||||
Text(company.user.email,
|
Text(company.user.email,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
style: Theme.of(context).textTheme.caption)
|
style: Theme.of(context).textTheme.caption)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue