2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16: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

@@ -248,10 +248,6 @@ emojiSuggestionsPadding: margins(emojiColorsPadding, 0px, emojiColorsPadding, 0p
emojiSuggestionsFadeAfter: 20px;
mentionHeight: 40px;
mentionScroll: ScrollArea(defaultScrollArea) {
topsh: 0px;
bottomsh: 0px;
}
mentionPadding: margins(8px, 5px, 8px, 5px);
mentionTop: 11px;
mentionFont: linkFont;

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);