mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-21 16:47:07 +02:00
Fixed visual glitch in Replies section with tall input field.
This commit is contained in:
parent
bb4be4f3dd
commit
de6b460754
1 changed files with 9 additions and 1 deletions
|
@ -1639,7 +1639,15 @@ void ComposeControls::updateControlsGeometry(QSize size) {
|
|||
- _send->width()
|
||||
- _tabbedSelectorToggle->width()
|
||||
- (_botCommandShown ? _botCommandStart->width() : 0);
|
||||
_field->resizeToWidth(fieldWidth);
|
||||
{
|
||||
const auto oldFieldHeight = _field->height();
|
||||
_field->resizeToWidth(fieldWidth);
|
||||
// If a height of the field is changed
|
||||
// then this method will be called with the updated size.
|
||||
if (oldFieldHeight != _field->height()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const auto buttonsTop = size.height() - _attachToggle->height();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue