2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Show members list in PanelMode::Wide.

This commit is contained in:
John Preston
2021-04-23 15:07:12 +04:00
parent c93ddf6aac
commit eb8f709943
15 changed files with 231 additions and 121 deletions

View File

@@ -140,7 +140,7 @@ FieldAutocomplete::FieldAutocomplete(
not_null<Window::SessionController*> controller)
: RpWidget(parent)
, _controller(controller)
, _scroll(this, st::mentionScroll) {
, _scroll(this) {
hide();
_scroll->setGeometry(rect());
@@ -759,7 +759,7 @@ void FieldAutocomplete::Inner::paintEvent(QPaintEvent *e) {
auto htagwidth = width()
- st::mentionPadding.right()
- htagleft
- st::mentionScroll.width;
- st::defaultScrollArea.width;
if (!_srows->empty()) {
int32 rows = rowscount(_srows->size(), _stickersPerRow);