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