mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Fixed middle elision in filenames from document views.
This commit is contained in:
@@ -883,6 +883,7 @@ void Document::draw(
|
|||||||
.outerWidth = width,
|
.outerWidth = width,
|
||||||
.availableWidth = namewidth,
|
.availableWidth = namewidth,
|
||||||
.elisionLines = 1,
|
.elisionLines = 1,
|
||||||
|
.elisionMiddle = true,
|
||||||
});
|
});
|
||||||
_tooltipFilename.setElided(namewidth < named->name.maxWidth());
|
_tooltipFilename.setElided(namewidth < named->name.maxWidth());
|
||||||
}
|
}
|
||||||
|
Submodule Telegram/lib_ui updated: 3b4db4b98c...6f30f7ddb0
Reference in New Issue
Block a user