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