fix: calendar event editor field name overflow (#3877)

This commit is contained in:
Richard Shiue
2023-11-06 13:03:32 +08:00
committed by GitHub
parent 85af82acbe
commit eb54cf99d4

View File

@ -144,7 +144,7 @@ class EventPropertyList extends StatelessWidget {
textStyle: Theme.of(context)
.textTheme
.bodyMedium
?.copyWith(fontSize: 11),
?.copyWith(fontSize: 11, overflow: TextOverflow.ellipsis),
autofocus: true,
useRoundedBorder: true,
),
@ -213,11 +213,14 @@ class _PropertyCellState extends State<PropertyCell> {
size: const Size.square(14),
),
const HSpace(4.0),
FlowyText.regular(
Expanded(
child: FlowyText.regular(
widget.cellContext.fieldInfo.name,
color: Theme.of(context).hintColor,
overflow: TextOverflow.ellipsis,
fontSize: 11,
),
),
],
),
),