Make compose section of chat window bigger

34 views
Skip to first unread message

JonW

unread,
Jun 10, 2022, 10:05:12 AM6/10/22
to Psi-Users
Is it possible to make the "compose" section (the bit where you type your message) of the chat window bigger? ie, taller than one line of text?  It just feels like I'm trying to type through a letterbox.

Sergey Ilinykh

unread,
Jun 10, 2022, 10:07:44 AM6/10/22
to psi-...@googlegroups.com
maybe this options.ui.chat.use-expanding-line-edit may help



Best Regards,
Sergei


пт, 10 июн. 2022 г. в 17:05, JonW <jon.w...@gmail.com>:
Is it possible to make the "compose" section (the bit where you type your message) of the chat window bigger? ie, taller than one line of text?  It just feels like I'm trying to type through a letterbox.

--
You received this message because you are subscribed to the Google Groups "Psi-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psi-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psi-users/f5abaf61-ae65-488a-9054-dd2dfc895b76n%40googlegroups.com.

JonW

unread,
Jun 10, 2022, 10:54:54 AM6/10/22
to Psi-Users
Hi Sergei

Many thanks for such a quick response.

JonW

unread,
Jun 10, 2022, 4:48:24 PM6/10/22
to Psi-Users
Sadly,  options.ui.chat.use-expanding-line-edit  doesn't achieve what I wanted — it was already set to 'true', and simply makes the window taller as you type a new line.

What I want to do it make the compose section a minimum of two or three lines high by default, just so it's not such a narrow strip to begin with.

(And yes, it's more an aesthetic thing than a functional one; but they're often related, insofar as it's harder to use functions that you find off-putting.)

Sergey Ilinykh

unread,
Jun 10, 2022, 5:00:52 PM6/10/22
to psi-...@googlegroups.com
I see. Then maybe options.ui.chat.chatedit-height
But the logic behind this option is quite tricky. I guess it won't work reliably.

Best Regards,
Sergei


пт, 10 июн. 2022 г. в 23:48, JonW <jon.w...@gmail.com>:

JonW

unread,
Jun 11, 2022, 7:50:04 AM6/11/22
to Psi-Users
Hi Sergei

Thanks again for the prompt reply. 

There wasn't an existing  options.ui.chat.chatedit-height entry  (should there have been?)  so I added one, with type "int", based on the line

 <chatedit-height type="int">10</chatedit-height>

in https://github.com/psi-im/psi/blob/master/options/default.xml which  was the only reference I could find to  chatedit-height  anywhere.

But whatever value I enter doesn't have any visible effect on the chat window (or anything else).
Reply all
Reply to author
Forward
0 new messages