fix link dialog layout

pull/627/head
Andriy Trubchanin 3 years ago
parent 8168bf28e0
commit db129be8d7
  1. 5
      lib/src/widgets/toolbar/link_style_button.dart

@ -182,10 +182,11 @@ class _LinkDialogState extends State<_LinkDialog> {
return AlertDialog(
backgroundColor: widget.dialogTheme?.dialogBackgroundColor,
content: Column(
mainAxisSize: MainAxisSize.min,
children: [
const SizedBox(height: 8),
TextField(
keyboardType: TextInputType.multiline,
maxLines: null,
style: widget.dialogTheme?.inputTextStyle,
decoration: InputDecoration(
labelText: 'Text'.i18n,
@ -195,9 +196,9 @@ class _LinkDialogState extends State<_LinkDialog> {
onChanged: _textChanged,
controller: _textController,
),
const SizedBox(height: 16),
TextField(
keyboardType: TextInputType.multiline,
maxLines: null,
style: widget.dialogTheme?.inputTextStyle,
decoration: InputDecoration(
labelText: 'Link'.i18n,

Loading…
Cancel
Save