style: 聊天输入框样式调整
This commit is contained in:
parent
d843b0e5a6
commit
94ae8a45f8
|
|
@ -502,6 +502,7 @@ class _TIMUIKitTextFieldLayoutNarrowState extends TIMUIKitState<TIMUIKitTextFiel
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
textAlignVertical: TextAlignVertical.top,
|
textAlignVertical: TextAlignVertical.top,
|
||||||
|
style: const TextStyle(fontSize: 16),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
border: OutlineInputBorder(
|
border: OutlineInputBorder(
|
||||||
borderRadius: BorderRadius.circular(12),
|
borderRadius: BorderRadius.circular(12),
|
||||||
|
|
@ -522,6 +523,7 @@ class _TIMUIKitTextFieldLayoutNarrowState extends TIMUIKitState<TIMUIKitTextFiel
|
||||||
fillColor: hexToColor("f5f5f6"),
|
fillColor: hexToColor("f5f5f6"),
|
||||||
filled: true,
|
filled: true,
|
||||||
isDense: true,
|
isDense: true,
|
||||||
|
contentPadding: const EdgeInsets.symmetric(vertical: 12, horizontal: 12),
|
||||||
hintText: widget.hintText ?? ''),
|
hintText: widget.hintText ?? ''),
|
||||||
controller: widget.textEditingController,
|
controller: widget.textEditingController,
|
||||||
specialTextSpanBuilder: PlatformUtils().isWeb
|
specialTextSpanBuilder: PlatformUtils().isWeb
|
||||||
|
|
|
||||||
|
|
@ -960,7 +960,7 @@ class _TIMUIKitTextFieldLayoutWideState extends TIMUIKitState<TIMUIKitTextFieldL
|
||||||
// // widget.onSubmitted();
|
// // widget.onSubmitted();
|
||||||
},
|
},
|
||||||
textAlignVertical: TextAlignVertical.top,
|
textAlignVertical: TextAlignVertical.top,
|
||||||
style: const TextStyle(fontSize: 14),
|
style: const TextStyle(fontSize: 16),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
hoverColor: Colors.transparent,
|
hoverColor: Colors.transparent,
|
||||||
border: OutlineInputBorder(
|
border: OutlineInputBorder(
|
||||||
|
|
@ -982,6 +982,7 @@ class _TIMUIKitTextFieldLayoutWideState extends TIMUIKitState<TIMUIKitTextFieldL
|
||||||
hexToColor("f5f5f6"),
|
hexToColor("f5f5f6"),
|
||||||
filled: true,
|
filled: true,
|
||||||
isDense: true,
|
isDense: true,
|
||||||
|
contentPadding: const EdgeInsets.symmetric(vertical: 12, horizontal: 12),
|
||||||
hintText: widget.hintText ?? '',
|
hintText: widget.hintText ?? '',
|
||||||
),
|
),
|
||||||
controller: widget.textEditingController,
|
controller: widget.textEditingController,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue