# Dynamicall resizing height of MLE as needed when typing new messages

**URL:** <https://forum.delta.chat/t/dynamicall-resizing-height-of-mle-as-needed-when-typing-new-messages/1659>\
**Category:** Feature Proposal\
**Created:** [April 30, 2021, 11:23pm UTC](https://forum.delta.chat/t/dynamicall-resizing-height-of-mle-as-needed-when-typing-new-messages/1659 "2021-04-30T23:23:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![uhgwt436](https://forum.delta.chat/user_avatar/forum.delta.chat/uhgwt436/32/1366_2.png) [@uhgwt436](https://forum.delta.chat/u/uhgwt436)\
**Post date:** [April 30, 2021, 11:23pm UTC](https://forum.delta.chat/t/dynamicall-resizing-height-of-mle-as-needed-when-typing-new-messages/1659/1 "2021-04-30T23:23:45Z")

</div>

The MLE for typing new messages is very small on Android phones/tablets, ie only a couple of lines. This is fine when the message is only a few words but unfriendly when typing a longer message where you have to scroll to see what you typed earlier.

I suggest the MLE dynamically resizes as needed, perhaps up to 2/3 of the available height on a phone/tablet. This would still leave 1/3 available to view older messages if needed while typing a new message.

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/user_avatar/forum.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [May 1, 2021, 9:18am UTC](https://forum.delta.chat/t/dynamicall-resizing-height-of-mle-as-needed-when-typing-new-messages/1659/2 "2021-05-01T09:18:35Z")

</div>

I get that it is about text area, but what is “MLE”?

---

<div class="post-metadata">

**Author:** ![uhgwt436](https://forum.delta.chat/user_avatar/forum.delta.chat/uhgwt436/32/1366_2.png) [@uhgwt436](https://forum.delta.chat/u/uhgwt436)\
**Post date:** [May 1, 2021, 9:55pm UTC](https://forum.delta.chat/t/dynamicall-resizing-height-of-mle-as-needed-when-typing-new-messages/1659/3 "2021-05-01T21:55:49Z")

</div>

You are correct, it is about the text area and I should not have used that acronym. Somewhere in the back of my head, I remembered a window control element called MLE, an acronym for, if I remember correctly, Multi-Line Edit.

It is about entering new messages of course.

---

<div class="post-metadata">

**Author:** ![Simon](https://forum.delta.chat/user_avatar/forum.delta.chat/simon/32/287_2.png) [@Simon](https://forum.delta.chat/u/Simon)\
**Post date:** [May 2, 2021, 7:02am UTC](https://forum.delta.chat/t/dynamicall-resizing-height-of-mle-as-needed-when-typing-new-messages/1659/4 "2021-05-02T07:02:24Z")

</div>

you can always edit the title to improve it. 😉

“message input”, “input field”, “composer” are words that come to my mind.

---

<div class="post-metadata">

**Author:** ![csb0730](https://forum.delta.chat/user_avatar/forum.delta.chat/csb0730/32/45_2.png) [@csb0730](https://forum.delta.chat/u/csb0730)\
**Post date:** [May 2, 2021, 10:18pm UTC](https://forum.delta.chat/t/dynamicall-resizing-height-of-mle-as-needed-when-typing-new-messages/1659/5 "2021-05-02T22:18:51Z")

</div>

There is a simple setting in some of the xml files which defines max  
height of the input field. Don’t know current setting of DC but in my build I extended this to a size of six lines (more is possible). This setting is static and has to be defined at compile time.  
With an extended line number input field is growing automatically until max size is reached.

As I’m using a small Samsung S3 mini device a number of 6 lines IMHO is a good compromise (for me).

---

<div class="post-metadata">

**Author:** ![uhgwt436](https://forum.delta.chat/user_avatar/forum.delta.chat/uhgwt436/32/1366_2.png) [@uhgwt436](https://forum.delta.chat/u/uhgwt436)\
**Post date:** [May 2, 2021, 11:01pm UTC](https://forum.delta.chat/t/dynamicall-resizing-height-of-mle-as-needed-when-typing-new-messages/1659/6 "2021-05-02T23:01:58Z")

</div>

I just checked my tablet and five lines are visible at any one time. However, given that DC is not a text messaging program such as Signal etc. but an IM interface to /e-mail/ I think it is reasonable to allow many more lines to be visible at any one time - dependent on the height of the screen in use, of course. The user should be able to write more than a couple of sentences without needing to scroll to see what he/she just wrote.

Formatting, btw, includes being able to separate an e-mail message into paragraphs with an empty line between paragraphs for clarity. This requires more than five - or six - lines.

My suggestion again is that this entrybox dynamically resizes itself beyond the five lines it does on my tablet up to 2/3 or 3/4 of the height of the screen. This means that the user who writes very short messages still uses a minimally sized entrybox whereas the user who sends longer messages will automatically have much more of the message visible at a single time. The rest of the screen height should still show previously sent/received messages of course.

---

<div class="post-metadata">

**Author:** ![csb0730](https://forum.delta.chat/user_avatar/forum.delta.chat/csb0730/32/45_2.png) [@csb0730](https://forum.delta.chat/u/csb0730)\
**Post date:** [May 3, 2021, 11:23pm UTC](https://forum.delta.chat/t/dynamicall-resizing-height-of-mle-as-needed-when-typing-new-messages/1659/7 "2021-05-03T23:23:10Z")

</div>

I think this would be the behaviour if you simply extend the max lines setting of input field.  
As far as I know growth of input field ends if size reaches screen limit.

---

<div class="post-metadata">

**Author:** ![r10s](https://forum.delta.chat/user_avatar/forum.delta.chat/r10s/32/1513_2.png) [@r10s](https://forum.delta.chat/u/r10s)\
**Post date:** [May 21, 2021, 3:40pm UTC](https://forum.delta.chat/t/dynamicall-resizing-height-of-mle-as-needed-when-typing-new-messages/1659/8 "2021-05-21T15:40:56Z")

</div>

from [Make writing zone fullscreen - #3 by r10s](https://support.delta.chat/t/make-writing-zone-fullscreen/1684/3)

> note: if you turn to “landscape”, the input field is shown full screen. might be a reasonable workaround for now.

---

<div class="post-metadata">

**Author:** ![agutierrez](https://forum.delta.chat/user_avatar/forum.delta.chat/agutierrez/32/436_2.png) [@agutierrez](https://forum.delta.chat/u/agutierrez)\
**Post date:** [May 22, 2021, 9:00pm UTC](https://forum.delta.chat/t/dynamicall-resizing-height-of-mle-as-needed-when-typing-new-messages/1659/9 "2021-05-22T21:00:05Z")

</div>

> [@Expand the text editor](https://support.delta.chat/t/expand-the-text-editor/679):
>
> One of the things he hated most in chat applications, is his limited space in the text editor, this makes it more complicated and uncomfortable to write longer message. On many occasions I needed to write my messages in a notebook in order to have a better overview of the whole message. Therefore: I recommend: add an option to expand the text editor, as if it only shows, the editor and the on-screen keyboard. A small button could be placed above the Emoji button, which is only displayed when …

---

<div class="post-metadata">

**Author:** ![r10s](https://forum.delta.chat/user_avatar/forum.delta.chat/r10s/32/1513_2.png) [@r10s](https://forum.delta.chat/u/r10s)\
**Post date:** [October 6, 2026, 3:02pm UTC](https://forum.delta.chat/t/dynamicall-resizing-height-of-mle-as-needed-when-typing-new-messages/1659/10 "2026-10-06T15:02:29Z")

</div>


