2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Improve group stickers choose process.

Allow to choose from featured if used has no his own sets.
Allow to choose group sticker set from group info box.
This commit is contained in:
John Preston
2017-11-22 13:03:36 +04:00
parent 542ba89f25
commit f6ba59ed14
5 changed files with 70 additions and 12 deletions

View File

@@ -716,7 +716,9 @@ not_null<GifsListWidget*> TabbedSelector::gifs() const {
void TabbedSelector::setWidgetToScrollArea() {
auto inner = _scroll->setOwnedWidget(currentTab()->takeWidget());
inner->resizeToWidth(_scroll->width() - st::emojiScroll.width);
auto innerWidth = _scroll->width() - st::emojiScroll.width;
auto scrollHeight = _scroll->height();
inner->setMinimalHeight(innerWidth, scrollHeight);
inner->moveToLeft(0, 0);
inner->show();