Skip to content

Commit

Permalink
Compacted text display widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold872 committed Nov 8, 2023
1 parent 304cd9f commit 8e20a27
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/widgets/nt4_widgets/single_topic/text_display.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ class TextDisplay extends StatelessWidget with NT4Widget {
return TextField(
controller: _controller,
textAlign: TextAlign.left,
textAlignVertical: TextAlignVertical.bottom,
decoration: const InputDecoration(
contentPadding:
EdgeInsets.symmetric(horizontal: 0.0, vertical: 10.0),
isDense: true,
),
onSubmitted: (value) {
bool publishTopic = nt4Topic == null;

Expand Down

0 comments on commit 8e20a27

Please sign in to comment.