2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

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