fix: box constraints on desc field

This commit is contained in:
Matyáš Caras 2023-11-01 18:57:34 +01:00
parent 0c0bdda465
commit 7a4c6fd9f1
Signed by untrusted user who does not match committer: hernik
GPG key ID: 2A3175F98820C5C6

View file

@ -155,9 +155,11 @@ class _CreateEntryViewState extends State<CreateEntryView> {
const SizedBox( const SizedBox(
height: 10, height: 10,
), ),
SizedBox( ConstrainedBox(
height: 300, constraints: BoxConstraints(
width: MediaQuery.of(context).size.width * 0.8, minWidth: MediaQuery.of(context).size.width * 0.8,
maxWidth: MediaQuery.of(context).size.width * 0.8,
maxHeight: 300),
child: PlatformField( child: PlatformField(
keyboardType: TextInputType.multiline, keyboardType: TextInputType.multiline,
maxLines: null, maxLines: null,