mirror of https://github.com/procxx/kepka.git
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) {
|
if (_nameWidth > availableFileWidth) {
|
||||||
_name = st::semiboldFont->elided(
|
_name = st::semiboldFont->elided(
|
||||||
_name,
|
_name,
|
||||||
|
availableFileWidth,
|
||||||
Qt::ElideMiddle);
|
Qt::ElideMiddle);
|
||||||
_nameWidth = st::semiboldFont->width(_name);
|
_nameWidth = st::semiboldFont->width(_name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue