mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: automatically wrap the date, number or URL cells.
This commit is contained in:
parent
95a938657b
commit
5ac7b8e165
@ -141,7 +141,7 @@ class GridDateCellText extends StatelessWidget {
|
|||||||
padding: GridSize.cellContentInsets,
|
padding: GridSize.cellContentInsets,
|
||||||
child: FlowyText.medium(
|
child: FlowyText.medium(
|
||||||
dateStr,
|
dateStr,
|
||||||
overflow: TextOverflow.ellipsis,
|
maxLines: null,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -54,7 +54,7 @@ class _NumberCellState extends GridEditableTextCell<GridNumberCell> {
|
|||||||
focusNode: focusNode,
|
focusNode: focusNode,
|
||||||
onEditingComplete: () => focusNode.unfocus(),
|
onEditingComplete: () => focusNode.unfocus(),
|
||||||
onSubmitted: (_) => focusNode.unfocus(),
|
onSubmitted: (_) => focusNode.unfocus(),
|
||||||
maxLines: 1,
|
maxLines: null,
|
||||||
style: Theme.of(context).textTheme.bodyMedium,
|
style: Theme.of(context).textTheme.bodyMedium,
|
||||||
textInputAction: TextInputAction.done,
|
textInputAction: TextInputAction.done,
|
||||||
decoration: const InputDecoration(
|
decoration: const InputDecoration(
|
||||||
|
@ -152,7 +152,7 @@ class _GridURLCellState extends GridEditableTextCell<GridURLCell> {
|
|||||||
child: TextField(
|
child: TextField(
|
||||||
controller: _controller,
|
controller: _controller,
|
||||||
focusNode: focusNode,
|
focusNode: focusNode,
|
||||||
maxLines: 1,
|
maxLines: null,
|
||||||
style: (widget.cellStyle?.textStyle ??
|
style: (widget.cellStyle?.textStyle ??
|
||||||
Theme.of(context).textTheme.bodyMedium)
|
Theme.of(context).textTheme.bodyMedium)
|
||||||
?.copyWith(
|
?.copyWith(
|
||||||
|
Loading…
Reference in New Issue
Block a user