mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-30 03:34:17 +00:00
Fix long names in sending files preview.
This commit is contained in:
parent
80be464d95
commit
fdfdd0acce
@ -220,6 +220,7 @@ AlbumThumb::AlbumThumb(
|
||||
if (_nameWidth > availableFileWidth) {
|
||||
_name = st::semiboldFont->elided(
|
||||
_name,
|
||||
availableFileWidth,
|
||||
Qt::ElideMiddle);
|
||||
_nameWidth = st::semiboldFont->width(_name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user