fix link dialog layout (#627)

pull/630/head
Andy Trand 3 years ago committed by GitHub
parent 8168bf28e0
commit 2a359d34e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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