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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user