GridTileBar uses ellipsis, etc (#3881)

This commit is contained in:
Hans Muller
2016-05-12 12:27:49 -07:00
parent a590ee2671
commit 5bacc9f8e8
4 changed files with 52 additions and 52 deletions

View File

@@ -85,10 +85,14 @@ class GridTileBar extends StatelessWidget {
children: <Widget>[
new DefaultTextStyle(
style: Typography.white.subhead,
softWrap: false,
overflow: TextOverflow.ellipsis,
child: title
),
new DefaultTextStyle(
style: Typography.white.caption,
softWrap: false,
overflow: TextOverflow.ellipsis,
child: subtitle
)
]
@@ -100,6 +104,8 @@ class GridTileBar extends StatelessWidget {
new Flexible(
child: new DefaultTextStyle(
style: Typography.white.subhead,
softWrap: false,
overflow: TextOverflow.ellipsis,
child: title ?? subtitle
)
)