We have moved to a new Sailfish OS Forum. Please start new discussions there.
12

Enhancement: Messaging app, message text alignment

asked 2014-01-08 17:59:52 +0200

clau gravatar image

updated 2014-09-30 17:12:13 +0200

The Messaging app currently shows received SMS'es with right alignment. This makes multi-line messages hard to read, because not all lines start with the same left indentation. Also, the font size for received SMS'es is bigger than the one for sent SMS'es (which, I assume, is a bug).

XMPP messages are shown in a more traditional way, with left alignment and prefixed with the time, and sent / received messages are differentiated by color. This behavior is much better.

I would like to have configurable behavior, to be able to choose how I want to view the messages regardless of the type, and for the current SMS style the text should be aligned to left, even if it is still 'glued' to the right border.

edit retag flag offensive close delete

Comments

1

The font size for received messages being bigger makes sense: you're more interested in what the other person has to say than in what you just said, so it's easier to read it.

I like the way sent messages appear at the left and received at the right, but I do agree that it would be a good idea to have an option available for people who want to have it the other way around.

nthn ( 2014-09-30 18:09:08 +0200 )edit

We expect more alike Symbian messages settings and folders in message

Twinklestar1792 ( 2014-10-01 19:40:31 +0200 )edit

The font size difference is not a bug and I like it; but I agree for left alignment for received messages and right for sent, as usual as all today messaging apps.

AliN ( 2015-04-25 16:18:47 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-11-21 01:30:32 +0200

AliN gravatar image

We can make a patch to modify /usr/share/jolla-messages/pages/conversation/SMSMessageDelegate.qml and add these settings.

To have all sent and received messages on the left, some conditions should be removed. You can see the changes in SMSMessageDelegate.qml – I represented them with /** **/

To have all texts in the same size, you can change line 137 selecting Medium or Small.

However, I prefer the current horizontal alignment but just mirrored; i.e. to have received messages on the left and sent on the right. To do this most conditions should be inverted like this: SMSMessageDelegate.txt.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2014-01-08 17:59:52 +0200

Seen: 409 times

Last updated: Nov 21 '15