Attempt to fix bad input field layout on Qt 6.

This commit is contained in:
John Preston 2024-07-18 17:59:12 +02:00
parent 4d647e64b7
commit a847969e9c
2 changed files with 2 additions and 2 deletions

View file

@ -525,7 +525,7 @@ void InitMessageFieldGeometry(not_null<Ui::InputField*> field) {
st::historySendSize.height() - 2 * st::historySendPadding);
field->setMaxHeight(st::historyComposeFieldMaxHeight);
field->document()->setDocumentMargin(4.);
field->setDocumentMargin(4.);
field->setAdditionalMargin(style::ConvertScale(4) - 4);
}

@ -1 +1 @@
Subproject commit 58329bfe19c031ec6065a3a098743bb3d7732a64
Subproject commit 007e3a519ffbad0bd889de6cb4b19f34959afbce