mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Attempt to fix bad input field layout on Qt 6.
This commit is contained in:
parent
4d647e64b7
commit
a847969e9c
2 changed files with 2 additions and 2 deletions
|
@ -525,7 +525,7 @@ void InitMessageFieldGeometry(not_null<Ui::InputField*> field) {
|
||||||
st::historySendSize.height() - 2 * st::historySendPadding);
|
st::historySendSize.height() - 2 * st::historySendPadding);
|
||||||
field->setMaxHeight(st::historyComposeFieldMaxHeight);
|
field->setMaxHeight(st::historyComposeFieldMaxHeight);
|
||||||
|
|
||||||
field->document()->setDocumentMargin(4.);
|
field->setDocumentMargin(4.);
|
||||||
field->setAdditionalMargin(style::ConvertScale(4) - 4);
|
field->setAdditionalMargin(style::ConvertScale(4) - 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 58329bfe19c031ec6065a3a098743bb3d7732a64
|
Subproject commit 007e3a519ffbad0bd889de6cb4b19f34959afbce
|
Loading…
Add table
Reference in a new issue