mirror of
https://bitbucket.org/FransoletThomas/tablet-app.git
synced 2025-12-06 08:31:19 +00:00
add autosize text
This commit is contained in:
parent
bbb4c71421
commit
8882b708ff
@ -279,7 +279,10 @@ class _EventPopupState extends State<EventPopup> {
|
|||||||
Icon(Icons.email, size: 13),
|
Icon(Icons.email, size: 13),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(4.0),
|
padding: const EdgeInsets.all(4.0),
|
||||||
child: Text(widget.eventAgenda.email!, style: TextStyle(fontSize: 12)),
|
child: SizedBox(
|
||||||
|
width: size.width*0.25,
|
||||||
|
child: AutoSizeText(widget.eventAgenda.email!, style: TextStyle(fontSize: 12), maxLines: 3)
|
||||||
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
): SizedBox(),
|
): SizedBox(),
|
||||||
@ -289,10 +292,9 @@ class _EventPopupState extends State<EventPopup> {
|
|||||||
Icon(Icons.public, size: 13),
|
Icon(Icons.public, size: 13),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(4.0),
|
padding: const EdgeInsets.all(4.0),
|
||||||
child: AutoSizeText(
|
child: SizedBox(
|
||||||
widget.eventAgenda.website!,
|
width: size.width*0.25,
|
||||||
style: TextStyle(fontSize: 12),
|
child: AutoSizeText(widget.eventAgenda.website!, style: TextStyle(fontSize: 12), maxLines: 3)
|
||||||
maxLines: 2,
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user