tdesktop
tdesktop copied to clipboard
Bot webapp main button doesn't display RTL text correctly
Steps to reproduce
set main button text to an RTL text:
window.Telegram.WebApp.MainButton.text = "سلام"
Expected behaviour
Main Button should display RTL texts as like LTR texts. I can confirm this problem is not exist in Telegram Android and Telegram Web. this is only for Telegram Windows (I don't have any mac or iOS device to test).
Android:

Web Z:
Actual behaviour
The main button text is not correctly positioned when text is RTL, on Telegram desktop
Operating system
Windows
Version of Telegram Desktop
4.0.2
Installation source
Static binary from official website
Logs
No response