blacksailer / depecher

Depecher - Unofficial Sailfish OS client for Telegram based on tdlib
44 stars 32 forks source link

Landscape: Messages too narrow #72

Closed jgibbon closed 5 years ago

jgibbon commented 6 years ago

Message width tries to be 2/3 of the screen width, but uses Silica.Screen.width for it. From the Sailfish.Silica.Screen documentation:

width : int The smaller of the screen dimensions. For example with a 540x960 display the width would return 540. The value is static and does not follow the device orientation.

So the maximum width in Landscape is the same as in Portrait, which is pretty narrow.

Perhaps it's better to refer to page.width or messageListItem.width