mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 14:47:13 -04:00
Merge pull request #1322 from ChiragKr04/fix/grid-half-hidden-textfield
fix: half hidden textfield in name field
This commit is contained in:
commit
bf1d4b923a
1 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
import 'dart:async';
|
||||
import 'package:app_flowy/plugins/grid/presentation/widgets/cell/prelude.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:app_flowy/startup/startup.dart';
|
||||
|
@ -58,7 +59,10 @@ class _GridTextCellState extends GridFocusNodeCellState<GridTextCell> {
|
|||
}
|
||||
},
|
||||
child: Padding(
|
||||
padding: GridSize.cellContentInsets,
|
||||
padding: EdgeInsets.only(
|
||||
left: GridSize.cellContentInsets.left,
|
||||
right: GridSize.cellContentInsets.right,
|
||||
),
|
||||
child: TextField(
|
||||
controller: _controller,
|
||||
focusNode: focusNode,
|
||||
|
@ -67,7 +71,10 @@ class _GridTextCellState extends GridFocusNodeCellState<GridTextCell> {
|
|||
maxLines: null,
|
||||
style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
|
||||
decoration: InputDecoration(
|
||||
contentPadding: EdgeInsets.zero,
|
||||
contentPadding: EdgeInsets.only(
|
||||
top: GridSize.cellContentInsets.top,
|
||||
bottom: GridSize.cellContentInsets.bottom,
|
||||
),
|
||||
border: InputBorder.none,
|
||||
hintText: widget.cellStyle?.placeholder,
|
||||
isDense: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue