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(
height: 10,
),
SizedBox(
height: 300,
width: MediaQuery.of(context).size.width * 0.8,
ConstrainedBox(
constraints: BoxConstraints(
minWidth: MediaQuery.of(context).size.width * 0.8,
maxWidth: MediaQuery.of(context).size.width * 0.8,
maxHeight: 300),
child: PlatformField(
keyboardType: TextInputType.multiline,
maxLines: null,