mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: clip the text when out of bound
This commit is contained in:
parent
0d39afca2f
commit
befc40ba71
@ -91,8 +91,13 @@ class SelectOptionTag extends StatelessWidget {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return ChoiceChip(
|
return ChoiceChip(
|
||||||
pressElevation: 1,
|
pressElevation: 1,
|
||||||
label:
|
label: Flexible(
|
||||||
FlowyText.medium(name, fontSize: 12, overflow: TextOverflow.ellipsis),
|
child: FlowyText.medium(
|
||||||
|
name,
|
||||||
|
fontSize: 12,
|
||||||
|
overflow: TextOverflow.clip,
|
||||||
|
),
|
||||||
|
),
|
||||||
selectedColor: color,
|
selectedColor: color,
|
||||||
backgroundColor: color,
|
backgroundColor: color,
|
||||||
labelPadding: const EdgeInsets.symmetric(horizontal: 6),
|
labelPadding: const EdgeInsets.symmetric(horizontal: 6),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user