mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 10:11:41 -05:00
Fix long names in sending files preview.
This commit is contained in:
parent
80be464d95
commit
fdfdd0acce
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ AlbumThumb::AlbumThumb(
|
|||
if (_nameWidth > availableFileWidth) {
|
||||
_name = st::semiboldFont->elided(
|
||||
_name,
|
||||
availableFileWidth,
|
||||
Qt::ElideMiddle);
|
||||
_nameWidth = st::semiboldFont->width(_name);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue