1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 21:09:21 +00:00

Fix overflow issue

This commit is contained in:
Pierre HUBERT 2020-04-17 12:06:37 +02:00
parent 31dfec89ee
commit 025e5bdf1c

View File

@ -102,7 +102,10 @@ Future<String> askUserString({
context: context, context: context,
builder: (c) => AlertDialog( builder: (c) => AlertDialog(
title: Text(title), title: Text(title),
content: Column( content: Container(
height: MediaQuery.of(context).size.height - 50,
child: SingleChildScrollView(
child: Column(
children: <Widget>[ children: <Widget>[
Text(message), Text(message),
TextField( TextField(
@ -117,6 +120,8 @@ Future<String> askUserString({
) )
], ],
), ),
),
),
actions: <Widget>[ actions: <Widget>[
FlatButton( FlatButton(
child: Text(tr("Cancel").toUpperCase()), child: Text(tr("Cancel").toUpperCase()),