Skip to content

Commit

Permalink
Fix overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle committed Oct 12, 2023
1 parent fdb501e commit 9a9c89b
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,13 @@ class _MyHomePageState extends State<MyHomePage> {
const SizedBox(
width: 10,
),
TextField(
decoration: const InputDecoration(
constraints: BoxConstraints(maxWidth: 250),
hintText: 'Enter log message',
Expanded(
child: TextField(
decoration: const InputDecoration(
hintText: 'Enter log message',
),
controller: loggerInfo.logMsgController,
),
controller: loggerInfo.logMsgController,
),
],
),
Expand Down

0 comments on commit 9a9c89b

Please sign in to comment.