![]() |
2014-04-04
, 17:02
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#972
|
There is no problem. Regardless of if language is written from left to right or right to left text alignment in bubble delegate is left for messages you sent and right for messages received.
May be that should be left-left for left-to-right languages and right-right for right-to-left languages. Need to check how it would look like.
Edit:
Copy /usr/share/harbour-mitakuuluu/qml/BubbleDelegate.qml to ~/.whatsapp/delegates/BubbleDelegate.qml and apply following patch.
Then select BubbleDelegate.qml from settings and there you have it. It does not mirrow the whole UI, it only makes text align naturally either to left or right depending on writing in use.Code:--- /usr/share/harbour-mitakuuluu/qml/BubbleDelegate.qml 2014-04-04 10:50:21.000000000 +0300 +++ BubbleDelegate.qml 2014-04-04 14:55:37.504880480 +0300 @@ -43,7 +43,6 @@ timeStatusRow.anchors.left = item.left; timeStatusRow.anchors.leftMargin = Theme.paddingLarge; msginfo.horizontalAlignment = Text.AlignLeft; - msg.horizontalAlignment = Text.AlignLeft; playerPlaceholder.anchors.right = item.right playerPlaceholder.anchors.leftMargin = Theme.paddingSmall setTickView(); @@ -70,7 +69,6 @@ msginfo.horizontalAlignment = Text.AlignRight; msg.anchors.right = item.right; msg.anchors.rightMargin = Theme.paddingLarge; - msg.horizontalAlignment = Text.AlignRight; timeStatusRow.anchors.right = item.right; timeStatusRow.anchors.rightMargin = Theme.paddingLarge; }
patch -p0 -i /path/to/name.diff
![]() |
2014-04-04
, 18:26
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#973
|
![]() |
2014-04-04
, 18:32
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#974
|
just opening related file and changing lines manually is too trivial today and need to follow more complex and unknown (yet?) methods?
![]() |
2014-04-04
, 19:00
|
|
Posts: 11 |
Thanked: 3 times |
Joined on Jan 2014
|
#975
|
![]() |
2014-04-04
, 19:28
|
Posts: 144 |
Thanked: 242 times |
Joined on Nov 2007
@ Finland
|
#976
|
The Following User Says Thank You to Penguin For This Useful Post: | ||
![]() |
2014-04-04
, 20:59
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#977
|
The Following User Says Thank You to coderus For This Useful Post: | ||
![]() |
2014-04-04
, 21:53
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#978
|
![]() |
2014-04-04
, 23:59
|
Posts: 144 |
Thanked: 242 times |
Joined on Nov 2007
@ Finland
|
#979
|
The Following User Says Thank You to Penguin For This Useful Post: | ||
![]() |
2014-04-05
, 15:56
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#980
|
Come on Schturman, how difficult it can be. Just remove those two lines from BubbleDelegate and there you have it.
1) Close or Quit Mitäkuuluu
2) Save the attached file as BubbleDelegate.qml into folder ~nemo/.whatsapp/delegates
3) Start Mitäkuuluu
4) Go to settings
5) Select BubbleDelegate.qml (and not the Bubble)
your issue is solved. Tested with Arabic and Hebrew, text and fonts supporting characters and write used by those languages.
If your right to left written text does not float "correctly" after this change, then you have broken font in use. Thats because writing direction right-to-left is defined by font file, not by application.
![]() |
Tags |
coderus, it's a trapp, jolla, sailfish, whatsapp, whatscrapp |
|
Actually this happened after I updated to the latest version.
Sail Raid, an old skool shoot'em up for Jolla
KillDroid, Android service killer for Jolla
goViihde, an Elisa Viihde client for Jolla
goViihde, an Elisa Viihde client for N9
Shortcut Stash Home Screen Widget